diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-10-11 19:57:22 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-10-11 19:57:22 +0100 |
| commit | b55c6c5496f6c8248dd51bbcaecb80ef0efcbadb (patch) | |
| tree | 0ccd243f9024e9dbee99dd43672cd3f7ecb4f79a /src/wx/content_menu.h | |
| parent | e90a898fd817f3a419134082ce390d66925c2fa4 (diff) | |
Fix crash on opening content menu for DCPs that have had incorrect KDMs added.
Diffstat (limited to 'src/wx/content_menu.h')
| -rw-r--r-- | src/wx/content_menu.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/wx/content_menu.h b/src/wx/content_menu.h index 43480888a..7b1e663fa 100644 --- a/src/wx/content_menu.h +++ b/src/wx/content_menu.h @@ -29,6 +29,7 @@ class Film; class Job; +class DCPContent; class ContentMenu : public boost::noncopyable { @@ -49,6 +50,7 @@ private: void remove (); void maybe_found_missing (boost::weak_ptr<Job>, boost::weak_ptr<Content>, boost::weak_ptr<Content>); void cpl_selected (wxCommandEvent& ev); + void check_kdm_validity (boost::weak_ptr<DCPContent> wp); wxMenu* _menu; wxMenu* _cpl_menu; @@ -67,7 +69,7 @@ private: wxMenuItem* _choose_cpl; wxMenuItem* _remove; - boost::signals2::scoped_connection _job_connection; + std::list<boost::signals2::connection> _job_connections; }; #endif |
