summaryrefslogtreecommitdiff
path: root/src/modlistsortproxy.h
diff options
context:
space:
mode:
authorisanae <14251494+isanae@users.noreply.github.com>2020-05-28 23:42:53 -0400
committerGitHub <noreply@github.com>2020-05-28 23:42:53 -0400
commitda35955d6c15c4abc83ae8c0a4ea8195c0c0ac85 (patch)
treebeab5513b64e93c32d50f628321654623b603129 /src/modlistsortproxy.h
parent652d3ab054cd2bd94fe88dc42aa39798fc3b2c4a (diff)
parent0a5790b333883c7c4ef07bb44f0a411ce8ba79b5 (diff)
Merge pull request #1092 from Holt59/mod-data-content
Use ModDataContent feature from GamePlugin
Diffstat (limited to 'src/modlistsortproxy.h')
-rw-r--r--src/modlistsortproxy.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/modlistsortproxy.h b/src/modlistsortproxy.h
index 3a29b7f7..90b6251e 100644
--- a/src/modlistsortproxy.h
+++ b/src/modlistsortproxy.h
@@ -25,6 +25,7 @@ along with Mod Organizer. If not, see <http://www.gnu.org/licenses/>.
#include "modlist.h"
class Profile;
+class OrganizerCore;
class ModListSortProxy : public QSortFilterProxyModel
{
@@ -72,7 +73,7 @@ public:
public:
- explicit ModListSortProxy(Profile *profile, QObject *parent = 0);
+ explicit ModListSortProxy(Profile *profile, OrganizerCore *organizer);
void setProfile(Profile *profile);
@@ -154,6 +155,8 @@ private slots:
void postDataChanged();
private:
+ OrganizerCore* m_Organizer;
+
Profile* m_Profile;
std::vector<Criteria> m_Criteria;
QString m_Filter;