diff options
author | robotbrain <robotbrainify@gmail.com> | 2014-02-13 16:00:51 -0500 |
---|---|---|
committer | robotbrain <robotbrainify@gmail.com> | 2014-02-13 16:00:51 -0500 |
commit | 93ee6f90102c0e36f46291a6b0295726cf5c0d28 (patch) | |
tree | 85725c18cedb5773477dc314ca326e18ecbdb7a2 /MultiMC.cpp | |
parent | 5a0e7877b05d656741042d6a47afd6cf1d0fc6ae (diff) | |
download | PrismLauncher-93ee6f90102c0e36f46291a6b0295726cf5c0d28.tar.gz PrismLauncher-93ee6f90102c0e36f46291a6b0295726cf5c0d28.tar.bz2 PrismLauncher-93ee6f90102c0e36f46291a6b0295726cf5c0d28.zip |
Fix FTB paths on Windows XP
Diffstat (limited to 'MultiMC.cpp')
-rw-r--r-- | MultiMC.cpp | 4 |
1 files 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"); |