summaryrefslogtreecommitdiffstats
path: root/src/widgets/dialogs/qfiledialog.h
diff options
context:
space:
mode:
authorStephan Binner <stephan.binner@basyskom.com>2017-05-30 20:25:50 +0200
committerStephan Binner <stephan.binner@basyskom.com>2017-06-29 02:22:48 +0000
commit1ebe68b01f6ab7e32f4f383d979588842b050dfb (patch)
tree2058977fd56d6fb2f6a4fd33687341c2c4446e31 /src/widgets/dialogs/qfiledialog.h
parent150ee7f4f1fb6280aa7fd8c15b6d72d806c0f68c (diff)
Convert features.filedialog to QT_[REQUIRE_]CONFIG
Change-Id: I9bc229b0d1430b81eeb2cfca2b24474736d5d561 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
Diffstat (limited to 'src/widgets/dialogs/qfiledialog.h')
-rw-r--r--src/widgets/dialogs/qfiledialog.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/widgets/dialogs/qfiledialog.h b/src/widgets/dialogs/qfiledialog.h
index 733dd03092..b9092e036d 100644
--- a/src/widgets/dialogs/qfiledialog.h
+++ b/src/widgets/dialogs/qfiledialog.h
@@ -44,13 +44,11 @@
#include <QtCore/qdir.h>
#include <QtCore/qstring.h>
#include <QtCore/qurl.h>
-
-#ifndef QT_NO_FILEDIALOG
-
#include <QtWidgets/qdialog.h>
-QT_BEGIN_NAMESPACE
+QT_REQUIRE_CONFIG(filedialog);
+QT_BEGIN_NAMESPACE
class QModelIndex;
class QItemSelection;
@@ -316,6 +314,4 @@ Q_DECLARE_OPERATORS_FOR_FLAGS(QFileDialog::Options)
QT_END_NAMESPACE
-#endif // QT_NO_FILEDIALOG
-
#endif // QFILEDIALOG_H