diff --git a/common/yacreader_global.cpp b/common/yacreader_global.cpp index 53d2bf75..f802c1e4 100644 --- a/common/yacreader_global.cpp +++ b/common/yacreader_global.cpp @@ -4,11 +4,7 @@ using namespace YACReader; QString YACReader::getSettingsPath() { -#if QT_VERSION >= 0x050000 - return QStandardPaths::writableLocation(QStandardPaths::DataLocation); -#else - return QDesktopServices::storageLocation(QDesktopServices::DataLocation); -#endif + return QStandardPaths::writableLocation(QStandardPaths::AppLocalDataLocation); } QString YACReader::colorToName(LabelColors colors)