diff options
| author | Carl Hetherington <cth@carlh.net> | 2024-01-16 00:33:05 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2024-01-16 21:33:29 +0100 |
| commit | d464a939f9f851e835b2a4926fafd6eadaa183de (patch) | |
| tree | 824a491f85ef056d401b37f006bbced3f63919a5 /src/wx/full_config_dialog.cc | |
| parent | 4790b63ceadc38fba77954f531a455fff28f8b13 (diff) | |
Cleanup: rename some methods in FilePickerCtrl and use boost::filesystem::path more.
Diffstat (limited to 'src/wx/full_config_dialog.cc')
| -rw-r--r-- | src/wx/full_config_dialog.cc | 4 |
1 files changed, 2 insertions, 2 deletions
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() |
