Browse Source

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

Fixes #585
pull/587/head
Tux3 / Mlkj / !Lev.uXFMLA 11 years ago
parent
commit
da3374c4aa
No known key found for this signature in database
GPG Key ID: 7E086DD661263264
  1. 2
      src/misc/settings.cpp

2
src/misc/settings.cpp

@ -300,7 +300,7 @@ QString Settings::getSettingsDirPath()
// workaround for https://bugreports.qt-project.org/browse/QTBUG-38845 // workaround for https://bugreports.qt-project.org/browse/QTBUG-38845
#ifdef Q_OS_WIN #ifdef Q_OS_WIN
return QStandardPaths::writableLocation(QStandardPaths::ConfigLocation); return "%APPDATA%/tox/";
#else #else
return QDir::cleanPath(QStandardPaths::writableLocation(QStandardPaths::ConfigLocation) + QDir::separator() + "tox"); return QDir::cleanPath(QStandardPaths::writableLocation(QStandardPaths::ConfigLocation) + QDir::separator() + "tox");
#endif #endif

Loading…
Cancel
Save