diff options
| author | Carl Hetherington <cth@carlh.net> | 2025-01-14 10:39:12 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2025-01-14 23:51:12 +0100 |
| commit | faa7efd869e11c6e0ec4f00da8e1ad99415c709b (patch) | |
| tree | 73868bd28712442a73c6478be89931a941ebcdbc /src/wx | |
| parent | 2a3a5622275f8dc669d589625718c8a2a14e75f1 (diff) | |
Put film_util methods in a namespace.
Diffstat (limited to 'src/wx')
| -rw-r--r-- | src/wx/content_menu.cc | 4 | ||||
| -rw-r--r-- | src/wx/content_panel.cc | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/wx/content_menu.cc b/src/wx/content_menu.cc index 30abe7416..cd2b8c914 100644 --- a/src/wx/content_menu.cc +++ b/src/wx/content_menu.cc @@ -460,7 +460,7 @@ ContentMenu::ov () auto film = _film.lock(); DCPOMATIC_ASSERT(film); - DirDialog dialog(_parent, _("Select OV"), wxDD_DIR_MUST_EXIST, "AddFilesPath", add_files_override_path(film)); + DirDialog dialog(_parent, _("Select OV"), wxDD_DIR_MUST_EXIST, "AddFilesPath", dcpomatic::film::add_files_override_path(film)); if (dialog.show()) { dcp->add_ov(dialog.path()); @@ -617,7 +617,7 @@ ContentMenu::copy_settings() auto film = _film.lock(); DCPOMATIC_ASSERT (film); - DirDialog dialog(_parent, _("Film to copy settings from"), wxDD_DIR_MUST_EXIST, "CopySettingsPath", add_files_override_path(film)); + DirDialog dialog(_parent, _("Film to copy settings from"), wxDD_DIR_MUST_EXIST, "CopySettingsPath", dcpomatic::film::add_files_override_path(film)); if (!dialog.show()) { return; diff --git a/src/wx/content_panel.cc b/src/wx/content_panel.cc index 7d329aaed..8938ef0fd 100644 --- a/src/wx/content_panel.cc +++ b/src/wx/content_panel.cc @@ -621,7 +621,7 @@ ContentPanel::add_file_clicked () wxFD_MULTIPLE | wxFD_CHANGE_DIR, "AddFilesPath", {}, - add_files_override_path(_film) + dcpomatic::film::add_files_override_path(_film) ); if (dialog.show()) { @@ -633,7 +633,7 @@ ContentPanel::add_file_clicked () void ContentPanel::add_folder_clicked () { - DirDialog dialog(_splitter, _("Choose a folder"), wxDD_DIR_MUST_EXIST, "AddFilesPath", add_files_override_path(_film)); + DirDialog dialog(_splitter, _("Choose a folder"), wxDD_DIR_MUST_EXIST, "AddFilesPath", dcpomatic::film::add_files_override_path(_film)); if (dialog.show()) { add_folder(dialog.path()); } @@ -676,7 +676,7 @@ ContentPanel::add_folder(boost::filesystem::path folder) void ContentPanel::add_dcp_clicked () { - DirDialog dialog(_splitter, _("Choose a DCP folder"), wxDD_DIR_MUST_EXIST, "AddFilesPath", add_files_override_path(_film)); + DirDialog dialog(_splitter, _("Choose a DCP folder"), wxDD_DIR_MUST_EXIST, "AddFilesPath", dcpomatic::film::add_files_override_path(_film)); if (dialog.show()) { add_dcp(dialog.path()); } |
