summaryrefslogtreecommitdiffstats
path: root/logic/OneSixInstance.cpp
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2014-05-06 23:39:02 +0200
committerPetr Mrázek <peterix@gmail.com>2014-06-09 01:38:29 +0200
commit825d31bf1a7e66eee8a139ecd9b272cf3c374349 (patch)
tree94c8617c472462331d82ab4bfd72a1c8dba4eaa4 /logic/OneSixInstance.cpp
parent2590c6be15ab549256f0a39028aefb887ac5131a (diff)
downloadMultiMC-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/OneSixInstance.cpp')
-rw-r--r--logic/OneSixInstance.cpp18
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";