summaryrefslogtreecommitdiffstats
path: root/src/widgets/dialogs/qprogressdialog.h
diff options
context:
space:
mode:
authorStephan Binner <stephan.binner@basyskom.com>2017-05-30 20:43:59 +0200
committerStephan Binner <stephan.binner@basyskom.com>2017-06-29 02:22:58 +0000
commitfd4f9c5e0cba786b34225718f9bb7bf1a1bafec1 (patch)
treef2c47dd614e25ac8dce55853e56bb958e3340e9a /src/widgets/dialogs/qprogressdialog.h
parent1ebe68b01f6ab7e32f4f383d979588842b050dfb (diff)
Convert features.progressdialog to QT_[REQUIRE_]CONFIG
Change-Id: Ic12a30480260e426f106baf7e2121889ea01db88 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
Diffstat (limited to 'src/widgets/dialogs/qprogressdialog.h')
-rw-r--r--src/widgets/dialogs/qprogressdialog.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/widgets/dialogs/qprogressdialog.h b/src/widgets/dialogs/qprogressdialog.h
index f4e63fb088..902a4de5d2 100644
--- a/src/widgets/dialogs/qprogressdialog.h
+++ b/src/widgets/dialogs/qprogressdialog.h
@@ -42,12 +42,11 @@
#include <QtWidgets/qtwidgetsglobal.h>
-#ifndef QT_NO_PROGRESSDIALOG
-
#include <QtWidgets/qdialog.h>
-QT_BEGIN_NAMESPACE
+QT_REQUIRE_CONFIG(progressdialog);
+QT_BEGIN_NAMESPACE
class QPushButton;
class QLabel;
@@ -130,6 +129,4 @@ private:
QT_END_NAMESPACE
-#endif // QT_NO_PROGRESSDIALOG
-
#endif // QPROGRESSDIALOG_H