diff options
author | Petr Mrázek <peterix@gmail.com> | 2015-05-29 02:22:02 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2015-05-29 02:22:02 +0200 |
commit | b7f8241968b4cf684c31c575a6159d577faab76a (patch) | |
tree | d88807c22e41d4676f66c193eced467074ac7d55 /application/pages/BasePage.h | |
parent | a98e1df10cef774672e919497c43373e86c77f97 (diff) | |
download | MultiMC-b7f8241968b4cf684c31c575a6159d577faab76a.tar MultiMC-b7f8241968b4cf684c31c575a6159d577faab76a.tar.gz MultiMC-b7f8241968b4cf684c31c575a6159d577faab76a.tar.lz MultiMC-b7f8241968b4cf684c31c575a6159d577faab76a.tar.xz MultiMC-b7f8241968b4cf684c31c575a6159d577faab76a.zip |
GH-994 hopefully fix issue with people still using jar mods
Added an 'add mods' button to the version page
Add jar mods now has a very angry nag dialog until it's used successfully
Buttons on version page are rearranged to deemphasize jar mods
Diffstat (limited to 'application/pages/BasePage.h')
-rw-r--r-- | application/pages/BasePage.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/application/pages/BasePage.h b/application/pages/BasePage.h index ecf0692c..8b90358c 100644 --- a/application/pages/BasePage.h +++ b/application/pages/BasePage.h @@ -19,6 +19,8 @@ #include <QIcon> #include <memory> +#include "BasePageContainer.h" + class BasePage { public: @@ -31,6 +33,9 @@ public: virtual QString helpPage() const { return QString(); } virtual void opened() {} virtual void closed() {} + virtual void setParentContainer(BasePageContainer *) {}; + +public: int stackIndex = -1; int listIndex = -1; }; |