diff options
author | robotbrain <robotbrainify@gmail.com> | 2014-03-03 17:22:23 -0500 |
---|---|---|
committer | robotbrain <robotbrainify@gmail.com> | 2014-03-03 17:22:23 -0500 |
commit | a4779d32b60c0e324f719bd25c76a94c0384ac2e (patch) | |
tree | d6348d3fd9052becb6149a0b3d804adf7059404d | |
parent | 9d4e840a6e1a7169a2863fa1ff1812f8fe19e615 (diff) | |
download | MultiMC-a4779d32b60c0e324f719bd25c76a94c0384ac2e.tar MultiMC-a4779d32b60c0e324f719bd25c76a94c0384ac2e.tar.gz MultiMC-a4779d32b60c0e324f719bd25c76a94c0384ac2e.tar.lz MultiMC-a4779d32b60c0e324f719bd25c76a94c0384ac2e.tar.xz MultiMC-a4779d32b60c0e324f719bd25c76a94c0384ac2e.zip |
Fix ftb locations on old windows... again.
-rw-r--r-- | MultiMC.cpp | 2 |
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"); |