diff options
author | Petr Mrázek <peterix@gmail.com> | 2019-07-09 02:37:04 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2019-07-09 02:37:04 +0200 |
commit | 497d9bec029247f202befb34cc3d5da6e810fa73 (patch) | |
tree | bb09f943d3ecca1c2954b9af901d8f117a30237c /application/MultiMC.cpp | |
parent | c01d020afc044e50ec3af0799572b42fa96f28fc (diff) | |
download | MultiMC-497d9bec029247f202befb34cc3d5da6e810fa73.tar MultiMC-497d9bec029247f202befb34cc3d5da6e810fa73.tar.gz MultiMC-497d9bec029247f202befb34cc3d5da6e810fa73.tar.lz MultiMC-497d9bec029247f202befb34cc3d5da6e810fa73.tar.xz MultiMC-497d9bec029247f202befb34cc3d5da6e810fa73.zip |
NOISSUE simple/stupid default game options, UI only
Diffstat (limited to 'application/MultiMC.cpp')
-rw-r--r-- | application/MultiMC.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/application/MultiMC.cpp b/application/MultiMC.cpp index d76bd0a7..e07e3888 100644 --- a/application/MultiMC.cpp +++ b/application/MultiMC.cpp @@ -13,6 +13,7 @@ #include "pages/global/PasteEEPage.h" #include "pages/global/PackagesPage.h" #include "pages/global/CustomCommandsPage.h" +#include "pages/global/DefaultGameOptionsPage.h" #include "themes/ITheme.h" #include "themes/SystemTheme.h" @@ -485,6 +486,11 @@ MultiMC::MultiMC(int &argc, char **argv) : QApplication(argc, argv) // The cat m_settings->registerSetting("TheCat", false); + + // Default options + m_settings->registerSetting("DefaultOptionsMode", "NoAutojump"); + m_settings->registerSetting("DefaultOptionsText", "autoJump:false"); + m_settings->registerSetting("InstSortMode", "Name"); m_settings->registerSetting("SelectedInstance", QString()); @@ -519,6 +525,7 @@ MultiMC::MultiMC(int &argc, char **argv) : QApplication(argc, argv) m_globalSettingsProvider = std::make_shared<GenericPageProvider>(tr("Settings")); m_globalSettingsProvider->addPage<MultiMCSettingsPage>(); m_globalSettingsProvider->addPage<MinecraftPage>(); + m_globalSettingsProvider->addPage<DefaultGameOptionsPage>(); m_globalSettingsProvider->addPage<JavaPage>(); m_globalSettingsProvider->addPage<LanguagePage>(); m_globalSettingsProvider->addPage<CustomCommandsPage>(); |