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/VersionPage.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/VersionPage.cpp')
-rw-r--r-- | gui/pages/VersionPage.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gui/pages/VersionPage.cpp b/gui/pages/VersionPage.cpp index ec83ef87..1ea6b262 100644 --- a/gui/pages/VersionPage.cpp +++ b/gui/pages/VersionPage.cpp @@ -50,22 +50,22 @@ #include <QString> #include <QUrl> -QString VersionPage::displayName() +QString VersionPage::displayName() const { return tr("Version"); } -QIcon VersionPage::icon() +QIcon VersionPage::icon() const { return MMC->icons()->getIcon(m_inst->iconKey()); } -QString VersionPage::id() +QString VersionPage::id() const { return "version"; } -bool VersionPage::shouldDisplay() +bool VersionPage::shouldDisplay() const { return !m_inst->isRunning(); } |