summaryrefslogtreecommitdiffstats
path: root/logic/BaseInstance.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/BaseInstance.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/BaseInstance.cpp')
-rw-r--r--logic/BaseInstance.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/logic/BaseInstance.cpp b/logic/BaseInstance.cpp
index 4fc6b9dc..afe3dd03 100644
--- a/logic/BaseInstance.cpp
+++ b/logic/BaseInstance.cpp
@@ -256,6 +256,11 @@ QString BaseInstance::name() const
return d->m_settings->get("name").toString();
}
+QString BaseInstance::windowTitle() const
+{
+ return "MultiMC: " + name();
+}
+
QStringList BaseInstance::extraArguments() const
{
return Util::Commandline::splitArgs(settings().get("JvmArgs").toString());