QTfrontend/model/ThemeModel.h
changeset 13247 4df9d8cedf7f
parent 11757 6874644a2d00
child 13248 b0022324fb4e
--- a/QTfrontend/model/ThemeModel.h	Sun Mar 18 03:24:49 2018 +0100
+++ b/QTfrontend/model/ThemeModel.h	Sun Mar 18 14:38:48 2018 +0100
@@ -25,11 +25,11 @@
 #define HEDGEWARS_THEMEMODEL_H
 
 #include <QAbstractListModel>
-#include <QSortFilterProxyModel>
 #include <QStringList>
 #include <QMap>
 #include <QIcon>
 
+#include "ThemeFilterProxyModel.h"
 #include "DataManager.h"
 
 /**
@@ -45,12 +45,12 @@
 
         int rowCount(const QModelIndex &parent = QModelIndex()) const;
         QVariant data(const QModelIndex &index, int role) const;
-        QSortFilterProxyModel * withoutDLC();
+        ThemeFilterProxyModel * withoutDLC();
 
     private:
         mutable QList<QMap<int, QVariant> > m_data;
         mutable bool m_themesLoaded;
-        mutable QSortFilterProxyModel * m_filteredNoDLC;
+        mutable ThemeFilterProxyModel * m_filteredNoDLC;
 
         void loadThemes() const;
 };