diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-12-18 22:19:31 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-12-18 22:19:31 +0000 |
| commit | 7c54ed611f2934a6dcb22816a9c2706a7ae58660 (patch) | |
| tree | 800845197eb87f816e1fb300edf28b5345ffbe9b /src/tools | |
| parent | 8ae2dcecc765df1a98a5dc686473ac46f5e08c3e (diff) | |
swaroop: remove unused _film variable.
Diffstat (limited to 'src/tools')
| -rw-r--r-- | src/tools/dcpomatic_playlist.cc | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/tools/dcpomatic_playlist.cc b/src/tools/dcpomatic_playlist.cc index ad54e3648..fe49a2610 100644 --- a/src/tools/dcpomatic_playlist.cc +++ b/src/tools/dcpomatic_playlist.cc @@ -45,7 +45,7 @@ using boost::dynamic_pointer_cast; class ContentDialog : public wxDialog, public ContentStore { public: - ContentDialog (wxWindow* parent, weak_ptr<Film> film) + ContentDialog (wxWindow* parent) : wxDialog (parent, wxID_ANY, _("Add content"), wxDefaultPosition, wxSize(800, 640)) , _content_view (new ContentView(this)) { @@ -83,9 +83,7 @@ class DOMFrame : public wxFrame public: explicit DOMFrame (wxString const & title) : wxFrame (0, -1, title) - /* XXX: this is a bit of a hack, but we need it to be able to use the Content class hierarchy */ - , _film (new Film(optional<boost::filesystem::path>())) - , _content_dialog (new ContentDialog(this, _film)) + , _content_dialog (new ContentDialog(this)) { /* Use a panel as the only child of the Frame so that we avoid the dark-grey background on Windows. @@ -313,7 +311,6 @@ private: wxButton* _remove; wxButton* _save; wxButton* _load; - boost::shared_ptr<Film> _film; SPL _playlist; ContentDialog* _content_dialog; |
