diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-10-16 22:07:00 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-10-16 22:07:00 +0100 |
| commit | 4ed8eafd541c2c5867795db56c440e444cc0aeff (patch) | |
| tree | 22a797105d667c7a5525bb895be593d1ea6cad25 /src/tools | |
| parent | eb94fae8de00d63a44d46599cb78a63d7e08edfc (diff) | |
string -> filesystem::path
Diffstat (limited to 'src/tools')
| -rw-r--r-- | src/tools/dcpomatic.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/tools/dcpomatic.cc b/src/tools/dcpomatic.cc index ab8c4536d..d4faac815 100644 --- a/src/tools/dcpomatic.cc +++ b/src/tools/dcpomatic.cc @@ -302,12 +302,12 @@ private: set_menu_sensitivity (); } - void file_changed (string f) + void file_changed (boost::filesystem::path f) { stringstream s; s << wx_to_std (_("DCP-o-matic")); if (!f.empty ()) { - s << " - " << f; + s << " - " << f.string (); } SetTitle (std_to_wx (s.str())); @@ -455,14 +455,14 @@ private: #else int r = system ("which nautilus"); if (WEXITSTATUS (r) == 0) { - r = system (string ("nautilus " + film->directory()).c_str ()); + r = system (string ("nautilus " + film->directory().string()).c_str ()); if (WEXITSTATUS (r)) { error_dialog (this, _("Could not show DCP (could not run nautilus)")); } } else { int r = system ("which konqueror"); if (WEXITSTATUS (r) == 0) { - r = system (string ("konqueror " + film->directory()).c_str ()); + r = system (string ("konqueror " + film->directory().string()).c_str ()); if (WEXITSTATUS (r)) { error_dialog (this, _("Could not show DCP (could not run konqueror)")); } |
