This commit is contained in:
Petr Mrázek 2014-02-14 20:59:23 +01:00
commit 65e30aa118

View File

@ -310,7 +310,7 @@ void MultiMC::initGlobalSettings()
// Updates // Updates
m_settings->registerSetting("UpdateChannel", version().channel); m_settings->registerSetting("UpdateChannel", version().channel);
m_settings->registerSetting("AutoUpdate", true); m_settings->registerSetting("AutoUpdate", true);
// Notifications // Notifications
m_settings->registerSetting("ShownNotifications", QString()); m_settings->registerSetting("ShownNotifications", QString());
@ -319,7 +319,7 @@ void MultiMC::initGlobalSettings()
#ifdef Q_OS_LINUX #ifdef Q_OS_LINUX
QString ftbDefault = QDir::home().absoluteFilePath(".ftblauncher"); QString ftbDefault = QDir::home().absoluteFilePath(".ftblauncher");
#elif defined(Q_OS_WIN32) #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) #elif defined(Q_OS_MAC)
QString ftbDefault = QString ftbDefault =
PathCombine(QDir::homePath(), "Library/Application Support/ftblauncher"); PathCombine(QDir::homePath(), "Library/Application Support/ftblauncher");