summaryrefslogtreecommitdiffstats
path: root/MultiMC.cpp
diff options
context:
space:
mode:
authorrobotbrain <robotbrainify@gmail.com>2014-03-03 17:22:23 -0500
committerrobotbrain <robotbrainify@gmail.com>2014-03-03 17:22:23 -0500
commita4779d32b60c0e324f719bd25c76a94c0384ac2e (patch)
treed6348d3fd9052becb6149a0b3d804adf7059404d /MultiMC.cpp
parent9d4e840a6e1a7169a2863fa1ff1812f8fe19e615 (diff)
downloadMultiMC-a4779d32b60c0e324f719bd25c76a94c0384ac2e.tar
MultiMC-a4779d32b60c0e324f719bd25c76a94c0384ac2e.tar.gz
MultiMC-a4779d32b60c0e324f719bd25c76a94c0384ac2e.tar.lz
MultiMC-a4779d32b60c0e324f719bd25c76a94c0384ac2e.tar.xz
MultiMC-a4779d32b60c0e324f719bd25c76a94c0384ac2e.zip
Fix ftb locations on old windows... again.
Diffstat (limited to 'MultiMC.cpp')
-rw-r--r--MultiMC.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/MultiMC.cpp b/MultiMC.cpp
index 598a3a80..595643f8 100644
--- a/MultiMC.cpp
+++ b/MultiMC.cpp
@@ -319,7 +319,7 @@ void MultiMC::initGlobalSettings()
#ifdef Q_OS_LINUX
QString ftbDefault = QDir::home().absoluteFilePath(".ftblauncher");
#elif defined(Q_OS_WIN32)
- QString ftbDefault = PathCombine(QStandardPaths::writableLocation(QStandardPaths::DataLocation), "/ftblauncher");
+ QString ftbDefault = PathCombine(qgetenv("APPDATA"), "ftblauncher");
#elif defined(Q_OS_MAC)
QString ftbDefault =
PathCombine(QDir::homePath(), "Library/Application Support/ftblauncher");