projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
daa5dc5
)
Fix crash.
author
Carl Hetherington
<cth@carlh.net>
Tue, 22 Jul 2014 10:59:49 +0000
(11:59 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Tue, 22 Jul 2014 10:59:49 +0000
(11:59 +0100)
src/wx/content_panel.cc
patch
|
blob
|
history
diff --git
a/src/wx/content_panel.cc
b/src/wx/content_panel.cc
index 5ef2d8356bbf6a4a259dccb954046e0aeeb61aef..40ffb9b2e98fc734c239a280cdbeb16f5a19d715 100644
(file)
--- a/
src/wx/content_panel.cc
+++ b/
src/wx/content_panel.cc
@@
-426,7
+426,7
@@
ContentPanel::setup ()
int const t = _content->GetItemCount ();
bool const valid = (*i)->paths_valid ();
shared_ptr<DCPContent> dcp = dynamic_pointer_cast<DCPContent> (*i);
- bool const needs_kdm = !dcp->can_be_played ();
+ bool const needs_kdm =
dcp &&
!dcp->can_be_played ();
string s = (*i)->summary ();