diff options
author | Petr Mrázek <peterix@gmail.com> | 2014-05-06 23:39:02 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2014-06-09 01:38:29 +0200 |
commit | 825d31bf1a7e66eee8a139ecd9b272cf3c374349 (patch) | |
tree | 94c8617c472462331d82ab4bfd72a1c8dba4eaa4 /logic | |
parent | 2590c6be15ab549256f0a39028aefb887ac5131a (diff) | |
download | MultiMC-825d31bf1a7e66eee8a139ecd9b272cf3c374349.tar MultiMC-825d31bf1a7e66eee8a139ecd9b272cf3c374349.tar.gz MultiMC-825d31bf1a7e66eee8a139ecd9b272cf3c374349.tar.lz MultiMC-825d31bf1a7e66eee8a139ecd9b272cf3c374349.tar.xz MultiMC-825d31bf1a7e66eee8a139ecd9b272cf3c374349.zip |
Set the window params inside the launcher part, depending on launcher type.
Also create/change the new internal version files.
Diffstat (limited to 'logic')
-rw-r--r-- | logic/OneSixInstance.cpp | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/logic/OneSixInstance.cpp b/logic/OneSixInstance.cpp index ffd40325..a351a5be 100644 --- a/logic/OneSixInstance.cpp +++ b/logic/OneSixInstance.cpp @@ -244,24 +244,6 @@ bool OneSixInstance::prepareForLaunch(AuthSessionPtr account, QString &launchScr launchScript += "windowParams " + windowParams + "\n"; } - // window size, title and state, onesix - { - bool maximize = settings().get("LaunchMaximized").toBool(); - if (maximize) - { - // FIXME: there is no good way to maximize the minecraft window in onesix. - // this is probably a BAD idea - // launchScript += "param --fullscreen\n"; - } - else - { - launchScript += - "param --width\nparam " + settings().get("MinecraftWinWidth").toString() + "\n"; - launchScript += - "param --height\nparam " + settings().get("MinecraftWinHeight").toString() + "\n"; - } - } - // legacy auth { launchScript += "userName " + session->player_name + "\n"; |