diff -r 4df9d8cedf7f -r b0022324fb4e QTfrontend/model/ThemeModel.h --- a/QTfrontend/model/ThemeModel.h Sun Mar 18 14:38:48 2018 +0100 +++ b/QTfrontend/model/ThemeModel.h Sun Mar 18 15:24:54 2018 +0100 @@ -40,17 +40,21 @@ Q_OBJECT public: - enum Roles { ActualNameRole = Qt::UserRole, IsDlcRole, IconPathRole }; + enum Roles { ActualNameRole = Qt::UserRole, IsDlcRole, IconPathRole, IsHiddenRole }; explicit ThemeModel(QObject *parent = 0); int rowCount(const QModelIndex &parent = QModelIndex()) const; QVariant data(const QModelIndex &index, int role) const; ThemeFilterProxyModel * withoutDLC(); + ThemeFilterProxyModel * withoutHidden(); + ThemeFilterProxyModel * withoutDLCOrHidden(); private: mutable QList > m_data; mutable bool m_themesLoaded; mutable ThemeFilterProxyModel * m_filteredNoDLC; + mutable ThemeFilterProxyModel * m_filteredNoHidden; + mutable ThemeFilterProxyModel * m_filteredNoDLCOrHidden; void loadThemes() const; };