projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8176203
)
Fix crash on startup.
author
Carl Hetherington
<cth@carlh.net>
Sun, 23 Feb 2014 00:56:17 +0000
(
00:56
+0000)
committer
Carl Hetherington
<cth@carlh.net>
Sun, 23 Feb 2014 00:56:17 +0000
(
00:56
+0000)
src/tools/dcpomatic.cc
patch
|
blob
|
history
diff --git
a/src/tools/dcpomatic.cc
b/src/tools/dcpomatic.cc
index ce00cb13fbc30456acc71fce05a36af368d0b19b..715d420872e0838b0ea3a0d0416270bf90445c77 100644
(file)
--- a/
src/tools/dcpomatic.cc
+++ b/
src/tools/dcpomatic.cc
@@
-674,7
+674,9
@@
class App : public wxApp
_timer.reset (new wxTimer (this));
_timer->Start (1000);
- _frame->check_film_state_version (film->state_version ());
+ if (film) {
+ _frame->check_film_state_version (film->state_version ());
+ }
UpdateChecker::instance()->StateChanged.connect (boost::bind (&App::update_checker_state_changed, this));
if (Config::instance()->check_for_updates ()) {