summaryrefslogtreecommitdiffstats
path: root/src/widgets/dialogs/qinputdialog.h
diff options
context:
space:
mode:
authorStephan Binner <stephan.binner@basyskom.com>2017-05-30 20:52:39 +0200
committerStephan Binner <stephan.binner@basyskom.com>2017-06-29 02:23:08 +0000
commit003dc8e29a89c18729fc696ea9ca224645e792fd (patch)
tree8b82fa2d8c12e1f4f80aade6b4dba6debddced2a /src/widgets/dialogs/qinputdialog.h
parentfd4f9c5e0cba786b34225718f9bb7bf1a1bafec1 (diff)
Convert features.inputdialog to QT_[REQUIRE_]CONFIG
Change-Id: Ie480efcfc1fdc00e2b2697cf4c5abb231b42cc0e Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
Diffstat (limited to 'src/widgets/dialogs/qinputdialog.h')
-rw-r--r--src/widgets/dialogs/qinputdialog.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/widgets/dialogs/qinputdialog.h b/src/widgets/dialogs/qinputdialog.h
index 7b43e774a7..5f06785886 100644
--- a/src/widgets/dialogs/qinputdialog.h
+++ b/src/widgets/dialogs/qinputdialog.h
@@ -44,12 +44,11 @@
#include <QtCore/qstring.h>
#include <QtWidgets/qlineedit.h>
-#ifndef QT_NO_INPUTDIALOG
-
#include <QtWidgets/qdialog.h>
-QT_BEGIN_NAMESPACE
+QT_REQUIRE_CONFIG(inputdialog);
+QT_BEGIN_NAMESPACE
class QInputDialogPrivate;
@@ -212,6 +211,4 @@ Q_DECLARE_OPERATORS_FOR_FLAGS(QInputDialog::InputDialogOptions)
QT_END_NAMESPACE
-#endif // QT_NO_INPUTDIALOG
-
#endif // QINPUTDIALOG_H