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/BasePage.h | |
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/BasePage.h')
-rw-r--r-- | gui/pages/BasePage.h | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/gui/pages/BasePage.h b/gui/pages/BasePage.h index feb19a79..93ce3f35 100644 --- a/gui/pages/BasePage.h +++ b/gui/pages/BasePage.h @@ -25,14 +25,6 @@ public: virtual QString id() = 0; virtual QString displayName() = 0; virtual QIcon icon() = 0; - virtual bool accept() - { - return true; - } - virtual bool reject() - { - return true; - } virtual bool apply() { return true; @@ -41,6 +33,10 @@ public: { return true; } + virtual QString helpPage() + { + return QString(); + } int stackIndex = -1; int listIndex = -1; }; |