diff options
author | Jan Dalheimer <jan@dalheimer.de> | 2014-07-12 23:02:52 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2014-07-12 23:31:06 +0200 |
commit | 4c0dc51110603cbe0e98228c703e26402094a3cc (patch) | |
tree | b056d601ba2494e046752e5c94e3049182293515 /gui/pages/VersionPage.cpp | |
parent | 5c4384235989b16d6931cc0cfa26dd192af68b96 (diff) | |
download | MultiMC-4c0dc51110603cbe0e98228c703e26402094a3cc.tar MultiMC-4c0dc51110603cbe0e98228c703e26402094a3cc.tar.gz MultiMC-4c0dc51110603cbe0e98228c703e26402094a3cc.tar.lz MultiMC-4c0dc51110603cbe0e98228c703e26402094a3cc.tar.xz MultiMC-4c0dc51110603cbe0e98228c703e26402094a3cc.zip |
Finish of the OtherLogs page, and (re)format page related files
Diffstat (limited to 'gui/pages/VersionPage.cpp')
-rw-r--r-- | gui/pages/VersionPage.cpp | 27 |
1 files changed, 8 insertions, 19 deletions
diff --git a/gui/pages/VersionPage.cpp b/gui/pages/VersionPage.cpp index 1ea6b262..6e29dd41 100644 --- a/gui/pages/VersionPage.cpp +++ b/gui/pages/VersionPage.cpp @@ -31,6 +31,12 @@ #include "gui/dialogs/ProgressDialog.h" +#include <QAbstractItemModel> +#include <QMessageBox> +#include <QListView> +#include <QString> +#include <QUrl> + #include "logic/ModList.h" #include "logic/minecraft/InstanceVersion.h" #include "logic/EnabledItemFilter.h" @@ -40,31 +46,14 @@ #include "logic/liteloader/LiteLoaderInstaller.h" #include "logic/minecraft/VersionBuilder.h" #include "logic/auth/MojangAccountList.h" +#include "logic/Mod.h" +#include "logic/icons/IconList.h" -#include <QAbstractItemModel> -#include <logic/Mod.h> -#include <logic/icons/IconList.h> - -#include <QMessageBox> -#include <QListView> -#include <QString> -#include <QUrl> - -QString VersionPage::displayName() const -{ - return tr("Version"); -} QIcon VersionPage::icon() const { return MMC->icons()->getIcon(m_inst->iconKey()); } - -QString VersionPage::id() const -{ - return "version"; -} - bool VersionPage::shouldDisplay() const { return !m_inst->isRunning(); |