Move settings config directory

Fixes #204
This commit is contained in:
Rasmus Karlsson 2018-01-05 01:59:05 +01:00
parent d1458a0db3
commit 63d89797d6

View file

@ -58,7 +58,7 @@ bool SettingManager::init(int argc, char **argv)
settingsPath.append(QDir::currentPath()); settingsPath.append(QDir::currentPath());
} else { } else {
// Get settings path // Get settings path
settingsPath.append(QStandardPaths::writableLocation(QStandardPaths::AppConfigLocation)); settingsPath.append(QStandardPaths::writableLocation(QStandardPaths::AppDataLocation));
if (settingsPath.isEmpty()) { if (settingsPath.isEmpty()) {
printf("Error finding writable location for settings\n"); printf("Error finding writable location for settings\n");
return false; return false;