summaryrefslogtreecommitdiffstats
path: root/logic/OneSixInstance.cpp
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2014-01-12 23:38:12 +0100
committerPetr Mrázek <peterix@gmail.com>2014-01-12 23:38:12 +0100
commitafd1778fd766011a968074d68241b42b1438fb18 (patch)
tree55397c79113d6a03acfa296ed20790cf5f888fff /logic/OneSixInstance.cpp
parentfca4441229808891f460d5fbc4affd51e8896aa5 (diff)
downloadMultiMC-afd1778fd766011a968074d68241b42b1438fb18.tar
MultiMC-afd1778fd766011a968074d68241b42b1438fb18.tar.gz
MultiMC-afd1778fd766011a968074d68241b42b1438fb18.tar.lz
MultiMC-afd1778fd766011a968074d68241b42b1438fb18.tar.xz
MultiMC-afd1778fd766011a968074d68241b42b1438fb18.zip
Fix window title problem on OSX.
Diffstat (limited to 'logic/OneSixInstance.cpp')
-rw-r--r--logic/OneSixInstance.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/logic/OneSixInstance.cpp b/logic/OneSixInstance.cpp
index a12cf047..16699a1d 100644
--- a/logic/OneSixInstance.cpp
+++ b/logic/OneSixInstance.cpp
@@ -228,7 +228,7 @@ MinecraftProcess *OneSixInstance::prepareForLaunch(MojangAccountPtr account)
"param --height\nparam " + settings().get("MinecraftWinHeight").toString() + "\n";
}
QDir natives_dir(PathCombine(instanceRoot(), "natives/"));
- launchScript += "windowTitle MultiMC: " + name() + "\n";
+ launchScript += "windowTitle " + windowTitle() + "\n";
launchScript += "natives " + natives_dir.absolutePath() + "\n";
launchScript += "launch onesix\n";