summaryrefslogtreecommitdiffstats
path: root/src/imports/folderlistmodel/qdeclarativefolderlistmodel.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/imports/folderlistmodel/qdeclarativefolderlistmodel.h')
-rw-r--r--src/imports/folderlistmodel/qdeclarativefolderlistmodel.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/imports/folderlistmodel/qdeclarativefolderlistmodel.h b/src/imports/folderlistmodel/qdeclarativefolderlistmodel.h
index ea7d701..1bab5f84 100644
--- a/src/imports/folderlistmodel/qdeclarativefolderlistmodel.h
+++ b/src/imports/folderlistmodel/qdeclarativefolderlistmodel.h
@@ -47,6 +47,8 @@
#include <QUrl>
#include <QAbstractListModel>
+#ifndef QT_NO_DIRMODEL
+
QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE
@@ -152,4 +154,6 @@ QML_DECLARE_TYPE(QDeclarativeFolderListModel)
QT_END_HEADER
+#endif // QT_NO_DIRMODEL
+
#endif // QDECLARATIVEFOLDERLISTMODEL_H