diff options
author | Petr Mrázek <peterix@gmail.com> | 2014-01-12 23:38:12 +0100 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2014-01-12 23:38:12 +0100 |
commit | afd1778fd766011a968074d68241b42b1438fb18 (patch) | |
tree | 55397c79113d6a03acfa296ed20790cf5f888fff /logic/BaseInstance.cpp | |
parent | fca4441229808891f460d5fbc4affd51e8896aa5 (diff) | |
download | MultiMC-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.cpp | 5 |
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()); |