From 93ee6f90102c0e36f46291a6b0295726cf5c0d28 Mon Sep 17 00:00:00 2001 From: robotbrain Date: Thu, 13 Feb 2014 16:00:51 -0500 Subject: [PATCH] Fix FTB paths on Windows XP --- MultiMC.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MultiMC.cpp b/MultiMC.cpp index e4a30f22..598a3a80 100644 --- a/MultiMC.cpp +++ b/MultiMC.cpp @@ -310,7 +310,7 @@ void MultiMC::initGlobalSettings() // Updates m_settings->registerSetting("UpdateChannel", version().channel); m_settings->registerSetting("AutoUpdate", true); - + // Notifications m_settings->registerSetting("ShownNotifications", QString()); @@ -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(QDir::homePath(), "AppData/Roaming/ftblauncher"); + QString ftbDefault = PathCombine(QStandardPaths::writableLocation(QStandardPaths::DataLocation), "/ftblauncher"); #elif defined(Q_OS_MAC) QString ftbDefault = PathCombine(QDir::homePath(), "Library/Application Support/ftblauncher");