diff options
author | Sky <git@bunnies.cc> | 2013-11-06 01:01:09 +0000 |
---|---|---|
committer | Sky <git@bunnies.cc> | 2013-11-06 01:01:09 +0000 |
commit | 51dee3745f044e413797eb5ea3f8260d1ff6935b (patch) | |
tree | 7513f60733ea5ead561ed07508f0e6be548811b0 /gui/MainWindow.cpp | |
parent | 605423b8e486616677e88efafbcfaba1fb9f70e1 (diff) | |
download | MultiMC-51dee3745f044e413797eb5ea3f8260d1ff6935b.tar MultiMC-51dee3745f044e413797eb5ea3f8260d1ff6935b.tar.gz MultiMC-51dee3745f044e413797eb5ea3f8260d1ff6935b.tar.lz MultiMC-51dee3745f044e413797eb5ea3f8260d1ff6935b.tar.xz MultiMC-51dee3745f044e413797eb5ea3f8260d1ff6935b.zip |
Fix "Auto Login" instance specific setting, tweak UI
Diffstat (limited to 'gui/MainWindow.cpp')
-rw-r--r-- | gui/MainWindow.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gui/MainWindow.cpp b/gui/MainWindow.cpp index 39e6dff2..cf4a7124 100644 --- a/gui/MainWindow.cpp +++ b/gui/MainWindow.cpp @@ -537,7 +537,7 @@ void MainWindow::instanceActivated(QModelIndex index) NagUtils::checkJVMArgs(MMC->settings()->get("JvmArgs").toString(), this); - bool autoLogin = MMC->settings()->get("AutoLogin").toBool(); + bool autoLogin = inst->settings().get("AutoLogin").toBool(); if (autoLogin) doAutoLogin(); else @@ -826,7 +826,7 @@ void MainWindow::on_actionInstanceSettings_triggered() return; InstanceSettings settings(&m_selectedInstance->settings(), this); - settings.setWindowTitle(QString("Instance settings")); + settings.setWindowTitle(tr("Instance settings")); settings.exec(); } |