diff --git a/Configuration.cpp b/Configuration.cpp index aed2c5417..fd28e634d 100644 --- a/Configuration.cpp +++ b/Configuration.cpp @@ -2425,7 +2425,7 @@ void Configuration::impl::on_rescan_log_push_button_clicked (bool /*clicked*/) void Configuration::impl::on_CTY_download_button_clicked (bool /*clicked*/) { ui_->CTY_download_button->setEnabled (false); // disable button until download is complete - QDir dataPath {QStandardPaths::writableLocation (QStandardPaths::AppDataLocation)}; + QDir dataPath {QStandardPaths::writableLocation (QStandardPaths::DataLocation)}; cty_download.configure(network_manager_, "http://www.country-files.com/bigcty/cty.dat", dataPath.absoluteFilePath("cty.dat"), diff --git a/logbook/AD1CCty.cpp b/logbook/AD1CCty.cpp index 5b42b8a9f..526c6c8df 100644 --- a/logbook/AD1CCty.cpp +++ b/logbook/AD1CCty.cpp @@ -324,7 +324,7 @@ char const * AD1CCty::continent (Continent c) QString AD1CCty::impl::get_cty_path(Configuration const * configuration) { - QDir dataPath {QStandardPaths::writableLocation (QStandardPaths::AppDataLocation)}; + QDir dataPath {QStandardPaths::writableLocation (QStandardPaths::DataLocation)}; auto path = dataPath.exists (file_name) ? dataPath.absoluteFilePath (file_name) // user override : configuration->data_dir ().absoluteFilePath (file_name); // or original