summaryrefslogtreecommitdiffstats
path: root/src/widgets/dialogs/qfileinfogatherer_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/widgets/dialogs/qfileinfogatherer_p.h')
-rw-r--r--src/widgets/dialogs/qfileinfogatherer_p.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/widgets/dialogs/qfileinfogatherer_p.h b/src/widgets/dialogs/qfileinfogatherer_p.h
index 0018b6c387..52578126de 100644
--- a/src/widgets/dialogs/qfileinfogatherer_p.h
+++ b/src/widgets/dialogs/qfileinfogatherer_p.h
@@ -66,6 +66,8 @@
#include <private/qfilesystemengine_p.h>
+QT_REQUIRE_CONFIG(filesystemmodel);
+
QT_BEGIN_NAMESPACE
class QExtendedInformation {
@@ -150,8 +152,6 @@ private :
class QFileIconProvider;
-#ifndef QT_NO_FILESYSTEMMODEL
-
class Q_AUTOTEST_EXPORT QFileInfoGatherer : public QThread
{
Q_OBJECT
@@ -208,9 +208,6 @@ private:
QFileIconProvider *m_iconProvider; // not accessed by run()
QFileIconProvider defaultProvider;
};
-#endif // QT_NO_FILESYSTEMMODEL
-
QT_END_NAMESPACE
#endif // QFILEINFOGATHERER_H
-