QTfrontend/themesmodel.cpp
changeset 5332 b29d60c7cac7
parent 5330 0f31c8ab064b
--- a/QTfrontend/themesmodel.cpp	Sun Jun 26 20:19:11 2011 -0400
+++ b/QTfrontend/themesmodel.cpp	Sun Jun 26 20:29:08 2011 -0400
@@ -4,9 +4,9 @@
 ThemesModel::ThemesModel(QStringList themes, QObject *parent) :
     QAbstractListModel(parent)
 {
-/* Not Qt 4.6 compatible - needs an IFDEF
+#if QT_VERSION >= QT_VERSION_CHECK(4, 7, 0)
     m_data.reserve(themes.size());
-*/
+#endif
 
     foreach(QString theme, themes)
     {