diff options
author | Petr Mrázek <peterix@gmail.com> | 2014-06-10 00:46:05 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2014-06-10 00:46:05 +0200 |
commit | 9ec6deea848f8cdbebeb5c6be8b042c754ad9de7 (patch) | |
tree | fe6f72f3575ae9eb03cdb859e0d747e0fadd245c /gui/pages/ModFolderPage.cpp | |
parent | 0bccc94471d0223cf493ad860fa890614480433d (diff) | |
download | MultiMC-9ec6deea848f8cdbebeb5c6be8b042c754ad9de7.tar MultiMC-9ec6deea848f8cdbebeb5c6be8b042c754ad9de7.tar.gz MultiMC-9ec6deea848f8cdbebeb5c6be8b042c754ad9de7.tar.lz MultiMC-9ec6deea848f8cdbebeb5c6be8b042c754ad9de7.tar.xz MultiMC-9ec6deea848f8cdbebeb5c6be8b042c754ad9de7.zip |
Add close button to page dialog. Add help button to page dialog.
Smile.
Diffstat (limited to 'gui/pages/ModFolderPage.cpp')
-rw-r--r-- | gui/pages/ModFolderPage.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gui/pages/ModFolderPage.cpp b/gui/pages/ModFolderPage.cpp index de51edfa..6d5c6226 100644 --- a/gui/pages/ModFolderPage.cpp +++ b/gui/pages/ModFolderPage.cpp @@ -49,7 +49,7 @@ QString ModFolderPage::id() } ModFolderPage::ModFolderPage(std::shared_ptr<ModList> mods, QString id, QString iconName, - QString displayName, QWidget *parent) + QString displayName, QString helpPage, QWidget *parent) : QWidget(parent), ui(new Ui::ModFolderPage) { ui->setupUi(this); @@ -57,6 +57,7 @@ ModFolderPage::ModFolderPage(std::shared_ptr<ModList> mods, QString id, QString m_id = id; m_displayName = displayName; m_iconName = iconName; + m_helpName = helpPage; ui->modTreeView->setModel(m_mods.get()); ui->modTreeView->installEventFilter(this); m_mods->startWatching(); |