diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-11-21 22:25:43 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-11-21 22:25:43 +0000 |
| commit | fe8251bb73765b459042b0fa841dae2d440487fd (patch) | |
| tree | 9a8cbd162915c2e6e4cf868cfc0321bfb1a44ffd /src/wx | |
| parent | f67bc45820b4e56f90eecb97ba3b7762c119f9b5 (diff) | |
Remove Film pointer from clone().
Diffstat (limited to 'src/wx')
| -rw-r--r-- | src/wx/controls.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wx/controls.cc b/src/wx/controls.cc index af1dbdf14..0fa92b69a 100644 --- a/src/wx/controls.cc +++ b/src/wx/controls.cc @@ -214,7 +214,7 @@ Controls::Controls (wxWindow* parent, shared_ptr<FilmViewer> viewer, bool editor void Controls::add_clicked () { - shared_ptr<Content> sel = selected_content()->clone(_film); + shared_ptr<Content> sel = selected_content()->clone(); DCPOMATIC_ASSERT (sel); _film->examine_and_add_content (sel); bool const ok = display_progress (_("DCP-o-matic"), _("Loading DCP")); |
