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/LegacyUpgradePage.cpp | |
parent | aba1f89e2abfd596eb01c674d1b2deee3bdc1047 (diff) | |
download | PrismLauncher-5c4384235989b16d6931cc0cfa26dd192af68b96.tar.gz PrismLauncher-5c4384235989b16d6931cc0cfa26dd192af68b96.tar.bz2 PrismLauncher-5c4384235989b16d6931cc0cfa26dd192af68b96.zip |
Add a new page that can show all sorts of logs
Diffstat (limited to 'gui/pages/LegacyUpgradePage.cpp')
-rw-r--r-- | gui/pages/LegacyUpgradePage.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gui/pages/LegacyUpgradePage.cpp b/gui/pages/LegacyUpgradePage.cpp index bb54210c..bc800bc8 100644 --- a/gui/pages/LegacyUpgradePage.cpp +++ b/gui/pages/LegacyUpgradePage.cpp @@ -2,17 +2,17 @@ #include <logic/LegacyInstance.h> #include "ui_LegacyUpgradePage.h" -QString LegacyUpgradePage::displayName() +QString LegacyUpgradePage::displayName() const { return tr("Upgrade"); } -QIcon LegacyUpgradePage::icon() +QIcon LegacyUpgradePage::icon() const { return QIcon::fromTheme("checkupdate"); } -QString LegacyUpgradePage::id() +QString LegacyUpgradePage::id() const { return "upgrade"; } @@ -33,7 +33,7 @@ void LegacyUpgradePage::on_upgradeButton_clicked() // now what? } -bool LegacyUpgradePage::shouldDisplay() +bool LegacyUpgradePage::shouldDisplay() const { return !m_inst->isRunning(); -}
\ No newline at end of file +} |