summaryrefslogtreecommitdiff
path: root/src/wx/content_menu.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/wx/content_menu.cc')
-rw-r--r--src/wx/content_menu.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/wx/content_menu.cc b/src/wx/content_menu.cc
index 6a5ca8be4..017d2c659 100644
--- a/src/wx/content_menu.cc
+++ b/src/wx/content_menu.cc
@@ -209,7 +209,7 @@ ContentMenu::join ()
}
try {
- shared_ptr<FFmpegContent> joined (new FFmpegContent (film, fc));
+ shared_ptr<FFmpegContent> joined (new FFmpegContent(fc));
film->remove_content (_content);
film->examine_and_add_content (joined);
} catch (JoinError& e) {
@@ -306,9 +306,9 @@ ContentMenu::find_missing ()
if (r == wxID_OK) {
if (dc) {
- content.push_back (shared_ptr<DCPContent> (new DCPContent (film, path)));
+ content.push_back (shared_ptr<DCPContent>(new DCPContent(path)));
} else {
- content = content_factory (film, path);
+ content = content_factory (path);
}
}