summaryrefslogtreecommitdiffstats
path: root/application/pages/modplatform/ftb/FtbPage.h
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@users.noreply.github.com>2020-11-30 00:13:41 +0100
committerGitHub <noreply@github.com>2020-11-30 00:13:41 +0100
commit58d168bda2fecb42debfb1ce047d6985f64d475d (patch)
tree8091a6268745cf0228ef1739a6e9172fcfd3e040 /application/pages/modplatform/ftb/FtbPage.h
parented11d33054307be9a8f52689e2706085c3742420 (diff)
parent5eace10d51d862efa944418c4473fb053b5b04b4 (diff)
downloadMultiMC-58d168bda2fecb42debfb1ce047d6985f64d475d.tar
MultiMC-58d168bda2fecb42debfb1ce047d6985f64d475d.tar.gz
MultiMC-58d168bda2fecb42debfb1ce047d6985f64d475d.tar.lz
MultiMC-58d168bda2fecb42debfb1ce047d6985f64d475d.tar.xz
MultiMC-58d168bda2fecb42debfb1ce047d6985f64d475d.zip
Merge pull request #3442 from jamierocks/ftb-sorts
NOISSUE Add sorting options to FTB pack install page
Diffstat (limited to 'application/pages/modplatform/ftb/FtbPage.h')
-rw-r--r--application/pages/modplatform/ftb/FtbPage.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/application/pages/modplatform/ftb/FtbPage.h b/application/pages/modplatform/ftb/FtbPage.h
index 80f152c6..b31e1c9e 100644
--- a/application/pages/modplatform/ftb/FtbPage.h
+++ b/application/pages/modplatform/ftb/FtbPage.h
@@ -15,7 +15,8 @@
#pragma once
-#include "FtbModel.h"
+#include "FtbFilterModel.h"
+#include "FtbListModel.h"
#include <QWidget>
@@ -64,13 +65,15 @@ private:
private slots:
void triggerSearch();
+ void onSortingSelectionChanged(QString data);
void onSelectionChanged(QModelIndex first, QModelIndex second);
void onVersionSelectionChanged(QString data);
private:
Ui::FtbPage *ui = nullptr;
NewInstanceDialog* dialog = nullptr;
- Ftb::ListModel* model = nullptr;
+ Ftb::ListModel* listModel = nullptr;
+ Ftb::FilterModel* filterModel = nullptr;
ModpacksCH::Modpack selected;
QString selectedVersion;