From da3374c4aa87b3d496f943dd2975ccb71bc2a06c Mon Sep 17 00:00:00 2001 From: "Tux3 / Mlkj / !Lev.uXFMLA" Date: Thu, 30 Oct 2014 21:38:21 +0100 Subject: [PATCH] Windows: Save data in %APPDATA%/tox/ as per the STS Fixes #585 --- src/misc/settings.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/misc/settings.cpp b/src/misc/settings.cpp index 494ae4adb..1c9ff4b29 100644 --- a/src/misc/settings.cpp +++ b/src/misc/settings.cpp @@ -300,7 +300,7 @@ QString Settings::getSettingsDirPath() // workaround for https://bugreports.qt-project.org/browse/QTBUG-38845 #ifdef Q_OS_WIN - return QStandardPaths::writableLocation(QStandardPaths::ConfigLocation); + return "%APPDATA%/tox/"; #else return QDir::cleanPath(QStandardPaths::writableLocation(QStandardPaths::ConfigLocation) + QDir::separator() + "tox"); #endif