diff -r 1ee4842a9c86 -r 258c320256dc QTfrontend/model/ThemeModel.h --- a/QTfrontend/model/ThemeModel.h Tue Dec 03 23:54:58 2013 +0400 +++ b/QTfrontend/model/ThemeModel.h Wed Dec 04 00:19:42 2013 +0400 @@ -45,14 +45,11 @@ int rowCount(const QModelIndex &parent = QModelIndex()) const; QVariant data(const QModelIndex &index, int role) const; + private: + mutable QList > m_data; + mutable bool m_themesLoaded; - public slots: - /// reloads the themes from the DataManager - void loadThemes(); - - - private: - QList > m_data; + void loadThemes() const; }; #endif // HEDGEWARS_THEMEMODEL_H