summaryrefslogtreecommitdiffstats
path: root/src/printsupport/dialogs/qprintdialog.h
diff options
context:
space:
mode:
authorStephan Binner <stephan.binner@basyskom.com>2017-05-31 20:43:28 +0200
committerStephan Binner <stephan.binner@basyskom.com>2017-06-29 02:23:22 +0000
commit63cc734abb7b31a73c60767b9af521783c102bd4 (patch)
tree3ccbdaaaf8d45dbded4b9132088e29b90b2e4706 /src/printsupport/dialogs/qprintdialog.h
parent003dc8e29a89c18729fc696ea9ca224645e792fd (diff)
Convert features.messagebox to QT_[REQUIRE_]CONFIG
Change-Id: Ie25dc672f8a675c06585c7757255f7dbadbfc5ec Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
Diffstat (limited to 'src/printsupport/dialogs/qprintdialog.h')
-rw-r--r--src/printsupport/dialogs/qprintdialog.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/printsupport/dialogs/qprintdialog.h b/src/printsupport/dialogs/qprintdialog.h
index 53a6224f49..5b81440a3c 100644
--- a/src/printsupport/dialogs/qprintdialog.h
+++ b/src/printsupport/dialogs/qprintdialog.h
@@ -94,9 +94,9 @@ private:
#if defined (Q_OS_UNIX) && !defined(Q_OS_MAC)
Q_PRIVATE_SLOT(d_func(), void _q_togglePageSetCombo(bool))
Q_PRIVATE_SLOT(d_func(), void _q_collapseOrExpandDialog())
-# if !defined(QT_NO_MESSAGEBOX)
+#if QT_CONFIG(messagebox)
Q_PRIVATE_SLOT(d_func(), void _q_checkFields())
-# endif // QT_NO_MESSAGEBOX
+#endif // QT_CONFIG(messagebox)
friend class QUnixPrintWidget;
# endif // Q_OS_UNIX
};