From a4779d32b60c0e324f719bd25c76a94c0384ac2e Mon Sep 17 00:00:00 2001 From: robotbrain Date: Mon, 3 Mar 2014 17:22:23 -0500 Subject: [PATCH] Fix ftb locations on old windows... again. --- MultiMC.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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");