1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

Windows: Save data in %APPDATA%/tox/ as per the STS

Fixes #585
This commit is contained in:
Tux3 / Mlkj / !Lev.uXFMLA 2014-10-30 21:38:21 +01:00
parent 042ce4452b
commit da3374c4aa
No known key found for this signature in database
GPG Key ID: 7E086DD661263264

View File

@ -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