summaryrefslogtreecommitdiffstats
path: root/application/pages/VersionPage.h
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2015-05-29 02:22:02 +0200
committerPetr Mrázek <peterix@gmail.com>2015-05-29 02:22:02 +0200
commitb7f8241968b4cf684c31c575a6159d577faab76a (patch)
treed88807c22e41d4676f66c193eced467074ac7d55 /application/pages/VersionPage.h
parenta98e1df10cef774672e919497c43373e86c77f97 (diff)
downloadMultiMC-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/VersionPage.h')
-rw-r--r--application/pages/VersionPage.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/application/pages/VersionPage.h b/application/pages/VersionPage.h
index 49837f80..bd22e140 100644
--- a/application/pages/VersionPage.h
+++ b/application/pages/VersionPage.h
@@ -47,6 +47,8 @@ public:
}
virtual bool shouldDisplay() const;
+ virtual void setParentContainer(BasePageContainer *);
+
private slots:
void on_forgeBtn_clicked();
void on_liteloaderBtn_clicked();
@@ -58,6 +60,7 @@ private slots:
void on_jarmodBtn_clicked();
void on_revertBtn_clicked();
void on_editBtn_clicked();
+ void on_modBtn_clicked();
void on_customizeBtn_clicked();
void updateVersionControls();
@@ -80,6 +83,7 @@ private:
std::shared_ptr<MinecraftProfile> m_version;
OneSixInstance *m_inst;
int currentIdx = 0;
+ BasePageContainer * m_container = nullptr;
public slots:
void versionCurrent(const QModelIndex &current, const QModelIndex &previous);