diff -r df92c83375e2 -r 6874644a2d00 QTfrontend/model/ThemeModel.h --- a/QTfrontend/model/ThemeModel.h Thu Apr 28 17:42:43 2016 +0200 +++ b/QTfrontend/model/ThemeModel.h Thu Apr 28 18:32:50 2016 +0200 @@ -25,6 +25,7 @@ #define HEDGEWARS_THEMEMODEL_H #include +#include #include #include #include @@ -44,10 +45,12 @@ int rowCount(const QModelIndex &parent = QModelIndex()) const; QVariant data(const QModelIndex &index, int role) const; + QSortFilterProxyModel * withoutDLC(); private: mutable QList > m_data; mutable bool m_themesLoaded; + mutable QSortFilterProxyModel * m_filteredNoDLC; void loadThemes() const; };