X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Ffull_config_dialog.cc;h=f7945a44a4404f1076e2f9f3334d0068ebe2e238;hb=d464a939f9f851e835b2a4926fafd6eadaa183de;hp=2d4679611c9f6981332636fbee39a282af830d84;hpb=4790b63ceadc38fba77954f531a455fff28f8b13;p=dcpomatic.git diff --git a/src/wx/full_config_dialog.cc b/src/wx/full_config_dialog.cc index 2d4679611..f7945a44a 100644 --- a/src/wx/full_config_dialog.cc +++ b/src/wx/full_config_dialog.cc @@ -216,7 +216,7 @@ private: void config_file_changed () { auto config = Config::instance(); - boost::filesystem::path new_file = wx_to_std(_config_file->GetPath()); + auto const new_file = _config_file->path(); if (new_file == config->config_read_file()) { return; } @@ -240,7 +240,7 @@ private: void cinemas_file_changed () { - Config::instance()->set_cinemas_file (wx_to_std (_cinemas_file->GetPath ())); + Config::instance()->set_cinemas_file(_cinemas_file->path()); } void default_add_file_location_changed()