summaryrefslogtreecommitdiffstats
path: root/logic/OneSixInstance.cpp
diff options
context:
space:
mode:
authorSky <git@bunnies.cc>2013-10-07 14:56:14 +0100
committerSky <git@bunnies.cc>2013-10-07 14:56:14 +0100
commitb30a97d4c9315e482341ec863dc5722bf78c4631 (patch)
tree47a22f0353953061a532f103c9d9a92a18a427f9 /logic/OneSixInstance.cpp
parent58547d38673c458cf5be44909551b42497e263b7 (diff)
downloadMultiMC-b30a97d4c9315e482341ec863dc5722bf78c4631.tar
MultiMC-b30a97d4c9315e482341ec863dc5722bf78c4631.tar.gz
MultiMC-b30a97d4c9315e482341ec863dc5722bf78c4631.tar.lz
MultiMC-b30a97d4c9315e482341ec863dc5722bf78c4631.tar.xz
MultiMC-b30a97d4c9315e482341ec863dc5722bf78c4631.zip
Make starting window size set properly on 1.6 instances
Diffstat (limited to 'logic/OneSixInstance.cpp')
-rw-r--r--logic/OneSixInstance.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/logic/OneSixInstance.cpp b/logic/OneSixInstance.cpp
index c5d546a3..a2a6bf17 100644
--- a/logic/OneSixInstance.cpp
+++ b/logic/OneSixInstance.cpp
@@ -143,6 +143,10 @@ MinecraftProcess *OneSixInstance::prepareForLaunch(LoginResponse response)
args << version->mainClass;
args.append(processMinecraftArgs(response));
+ // Set the width and height for 1.6 instances
+ args << QString("--width") << settings().get("MinecraftWinWidth").toString();
+ args << QString("--height") << settings().get("MinecraftWinHeight").toString();
+
// create the process and set its parameters
MinecraftProcess *proc = new MinecraftProcess(this);
proc->setMinecraftArguments(args);