diff options
author | Petr Mrázek <peterix@gmail.com> | 2013-03-24 15:36:00 +0100 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2013-03-24 15:36:00 +0100 |
commit | 40570c321069b832722b807227fd8ff9bbd7c10d (patch) | |
tree | c29a37baba94726c27ef2c19ab3d81980cb43abb /libmultimc/src/instance.cpp | |
parent | e4f86893a899ee86cfa6d238f891bec04977c966 (diff) | |
download | MultiMC-40570c321069b832722b807227fd8ff9bbd7c10d.tar MultiMC-40570c321069b832722b807227fd8ff9bbd7c10d.tar.gz MultiMC-40570c321069b832722b807227fd8ff9bbd7c10d.tar.lz MultiMC-40570c321069b832722b807227fd8ff9bbd7c10d.tar.xz MultiMC-40570c321069b832722b807227fd8ff9bbd7c10d.zip |
Fix settings objects, instances can be started from the GUI now
Diffstat (limited to 'libmultimc/src/instance.cpp')
-rw-r--r-- | libmultimc/src/instance.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libmultimc/src/instance.cpp b/libmultimc/src/instance.cpp index 1af359d1..f9e105c7 100644 --- a/libmultimc/src/instance.cpp +++ b/libmultimc/src/instance.cpp @@ -48,6 +48,12 @@ Instance::Instance(const QString &rootDir, QObject *parent) : settings().registerSetting(new OverrideSetting("PostExitCommand", globalSettings->getSetting("PostExitCommand"))); + // Window Size + settings().registerSetting(new OverrideSetting("LaunchCompatMode", globalSettings->getSetting("LaunchCompatMode"))); + settings().registerSetting(new OverrideSetting("LaunchMaximized", globalSettings->getSetting("LaunchMaximized"))); + settings().registerSetting(new OverrideSetting("MinecraftWinWidth", globalSettings->getSetting("MinecraftWinWidth"))); + settings().registerSetting(new OverrideSetting("MinecraftWinHeight", globalSettings->getSetting("MinecraftWinHeight"))); + // Memory settings().registerSetting(new OverrideSetting("MinMemAlloc", globalSettings->getSetting("MinMemAlloc"))); settings().registerSetting(new OverrideSetting("MaxMemAlloc", globalSettings->getSetting("MaxMemAlloc"))); |