summaryrefslogtreecommitdiffstats
path: root/libmultimc/src/instance.cpp
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2013-07-16 00:30:32 +0200
committerPetr Mrázek <peterix@gmail.com>2013-07-16 00:30:32 +0200
commite2ee6d6d254285284f07b07cb60409fbda0bf7ad (patch)
tree30810ad496b34ae949aba3a72efb0a0363e8b718 /libmultimc/src/instance.cpp
parentb5450042b5f9ddaad7585f644591b7d009aeb5cb (diff)
downloadMultiMC-e2ee6d6d254285284f07b07cb60409fbda0bf7ad.tar
MultiMC-e2ee6d6d254285284f07b07cb60409fbda0bf7ad.tar.gz
MultiMC-e2ee6d6d254285284f07b07cb60409fbda0bf7ad.tar.lz
MultiMC-e2ee6d6d254285284f07b07cb60409fbda0bf7ad.tar.xz
MultiMC-e2ee6d6d254285284f07b07cb60409fbda0bf7ad.zip
Finalize the instance settings dialog, add setting reset mechanism
Diffstat (limited to 'libmultimc/src/instance.cpp')
-rw-r--r--libmultimc/src/instance.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/libmultimc/src/instance.cpp b/libmultimc/src/instance.cpp
index fde31cf3..c1506a02 100644
--- a/libmultimc/src/instance.cpp
+++ b/libmultimc/src/instance.cpp
@@ -62,6 +62,18 @@ Instance::Instance(const QString &rootDir, QObject *parent) :
// Auto login
settings().registerSetting(new OverrideSetting("AutoLogin", globalSettings->getSetting("AutoLogin")));
+
+ // Console
+ settings().registerSetting(new OverrideSetting("ShowConsole", globalSettings->getSetting("ShowConsole")));
+ settings().registerSetting(new OverrideSetting("AutoCloseConsole", globalSettings->getSetting("AutoCloseConsole")));
+
+ // Overrides
+ settings().registerSetting(new Setting("OverrideConsole", false));
+ settings().registerSetting(new Setting("OverrideWindow", false));
+ settings().registerSetting(new Setting("OverrideLogin", false));
+ settings().registerSetting(new Setting("OverrideMemory", false));
+ settings().registerSetting(new Setting("OverrideJava", false));
+ settings().registerSetting(new Setting("OverrideCommands", false));
}
QString Instance::id() const