diff -r df92c83375e2 -r 6874644a2d00 QTfrontend/model/MapModel.h --- a/QTfrontend/model/MapModel.h Thu Apr 28 17:42:43 2016 +0200 +++ b/QTfrontend/model/MapModel.h Thu Apr 28 18:32:50 2016 +0200 @@ -25,6 +25,7 @@ #define HEDGEWARS_MAPMODEL_H #include +#include #include #include #include @@ -105,6 +106,8 @@ /// Loads the maps bool loadMaps(); + /// returns this model but excluding DLC themes + QSortFilterProxyModel * withoutDLC(); private: /// map index lookup table. QPair contains: @@ -112,6 +115,7 @@ QHash m_mapIndexes; MapType m_maptype; bool m_loaded; + QSortFilterProxyModel * m_filteredNoDLC; /** * @brief Creates a QStandardItem, that holds the map info and item appearance.