summaryrefslogtreecommitdiffstats
path: root/application/pages/ModFolderPage.h
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2015-05-12 23:43:11 +0200
committerPetr Mrázek <peterix@gmail.com>2015-05-12 23:43:11 +0200
commit5bbe1c7132f3fd4c6850519e045f378e114ada50 (patch)
tree9c98c31070108f2117943266600a06a20a6e5e25 /application/pages/ModFolderPage.h
parentbd1a28d8639c0deb7afa5d1a895389f5fb980db0 (diff)
downloadMultiMC-5bbe1c7132f3fd4c6850519e045f378e114ada50.tar
MultiMC-5bbe1c7132f3fd4c6850519e045f378e114ada50.tar.gz
MultiMC-5bbe1c7132f3fd4c6850519e045f378e114ada50.tar.lz
MultiMC-5bbe1c7132f3fd4c6850519e045f378e114ada50.tar.xz
MultiMC-5bbe1c7132f3fd4c6850519e045f378e114ada50.zip
GH-951 add .litemod to mod browse dialog
Diffstat (limited to 'application/pages/ModFolderPage.h')
-rw-r--r--application/pages/ModFolderPage.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/application/pages/ModFolderPage.h b/application/pages/ModFolderPage.h
index 6bfbf1d0..cbd98cb7 100644
--- a/application/pages/ModFolderPage.h
+++ b/application/pages/ModFolderPage.h
@@ -36,6 +36,12 @@ public:
QString iconName, QString displayName, QString helpPage = "",
QWidget *parent = 0);
virtual ~ModFolderPage();
+
+ void setFilter(const QString & filter)
+ {
+ m_filter = filter;
+ }
+
virtual QString displayName() const override
{
return m_displayName;
@@ -70,6 +76,7 @@ private:
QString m_id;
QString m_displayName;
QString m_helpName;
+ QString m_filter;
public
slots: