mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-07-01 19:06:58 +03:00
Add close button to page dialog. Add help button to page dialog.
Smile.
This commit is contained in:
parent
0bccc94471
commit
9ec6deea84
15 changed files with 66 additions and 90 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue