diff options
author | Jan Dalheimer <jan@dalheimer.de> | 2014-07-12 17:58:23 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2014-07-12 23:31:05 +0200 |
commit | 5c4384235989b16d6931cc0cfa26dd192af68b96 (patch) | |
tree | 90e9fa1b758c97302726e01882e9c7c914426182 /gui/pages/InstanceSettingsPage.cpp | |
parent | aba1f89e2abfd596eb01c674d1b2deee3bdc1047 (diff) | |
download | MultiMC-5c4384235989b16d6931cc0cfa26dd192af68b96.tar MultiMC-5c4384235989b16d6931cc0cfa26dd192af68b96.tar.gz MultiMC-5c4384235989b16d6931cc0cfa26dd192af68b96.tar.lz MultiMC-5c4384235989b16d6931cc0cfa26dd192af68b96.tar.xz MultiMC-5c4384235989b16d6931cc0cfa26dd192af68b96.zip |
Add a new page that can show all sorts of logs
Diffstat (limited to 'gui/pages/InstanceSettingsPage.cpp')
-rw-r--r-- | gui/pages/InstanceSettingsPage.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gui/pages/InstanceSettingsPage.cpp b/gui/pages/InstanceSettingsPage.cpp index 6e2ce238..25fe46e5 100644 --- a/gui/pages/InstanceSettingsPage.cpp +++ b/gui/pages/InstanceSettingsPage.cpp @@ -8,17 +8,17 @@ #include <QMessageBox> #include "ui_InstanceSettingsPage.h" -QString InstanceSettingsPage::displayName() +QString InstanceSettingsPage::displayName() const { return tr("Settings"); } -QIcon InstanceSettingsPage::icon() +QIcon InstanceSettingsPage::icon() const { return QIcon::fromTheme("settings"); } -QString InstanceSettingsPage::id() +QString InstanceSettingsPage::id() const { return "settings"; } @@ -31,7 +31,7 @@ InstanceSettingsPage::InstanceSettingsPage(BaseInstance *inst, QWidget *parent) loadSettings(); } -bool InstanceSettingsPage::shouldDisplay() +bool InstanceSettingsPage::shouldDisplay() const { return !m_instance->isRunning(); } |