summaryrefslogtreecommitdiffstats
path: root/src/widgets/dialogs/qerrormessage.h
diff options
context:
space:
mode:
authorStephan Binner <stephan.binner@basyskom.com>2017-05-31 22:08:27 +0200
committerStephan Binner <stephan.binner@basyskom.com>2017-07-02 10:38:52 +0000
commit379179df9d172fd350f869c9f87391c05090187d (patch)
tree6d8dedf130373301cba30b45708e2b5c234667bb /src/widgets/dialogs/qerrormessage.h
parent330f0245898dd2c163a3a8b8dfb7b672cf8def3b (diff)
Convert features.errormessage to QT_[REQUIRE_]CONFIG
Change-Id: I9cc4f5190108c4bb96ddbd782ef1a031c9889f7e Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
Diffstat (limited to 'src/widgets/dialogs/qerrormessage.h')
-rw-r--r--src/widgets/dialogs/qerrormessage.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/widgets/dialogs/qerrormessage.h b/src/widgets/dialogs/qerrormessage.h
index 976ba9abd5..4cb1fad845 100644
--- a/src/widgets/dialogs/qerrormessage.h
+++ b/src/widgets/dialogs/qerrormessage.h
@@ -42,12 +42,11 @@
#include <QtWidgets/qtwidgetsglobal.h>
-#ifndef QT_NO_ERRORMESSAGE
-
#include <QtWidgets/qdialog.h>
-QT_BEGIN_NAMESPACE
+QT_REQUIRE_CONFIG(errormessage);
+QT_BEGIN_NAMESPACE
class QErrorMessagePrivate;
@@ -75,6 +74,4 @@ private:
QT_END_NAMESPACE
-#endif // QT_NO_ERRORMESSAGE
-
#endif // QERRORMESSAGE_H