summaryrefslogtreecommitdiff
path: root/src/modlistsortproxy.h
diff options
context:
space:
mode:
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;