summaryrefslogtreecommitdiffstats
path: root/src/widgets/statemachine
diff options
context:
space:
mode:
authorStephan Binner <stephan.binner@basyskom.com>2017-06-12 08:44:53 +0200
committerStephan Binner <stephan.binner@basyskom.com>2017-06-29 02:23:52 +0000
commitbf6f91e527e0fec49a8cd82eb4b9a55ff3db6d98 (patch)
tree06e54ef73b85fd34b52486fc4922fd6420091f82 /src/widgets/statemachine
parent63cc734abb7b31a73c60767b9af521783c102bd4 (diff)
Convert features.statustip to QT_CONFIG
Change-Id: Ic719ab93ed1802fcc713885ad0421cb44c7a998b Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
Diffstat (limited to 'src/widgets/statemachine')
-rw-r--r--src/widgets/statemachine/qguistatemachine.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/widgets/statemachine/qguistatemachine.cpp b/src/widgets/statemachine/qguistatemachine.cpp
index bbe723a55a..543011b754 100644
--- a/src/widgets/statemachine/qguistatemachine.cpp
+++ b/src/widgets/statemachine/qguistatemachine.cpp
@@ -223,10 +223,10 @@ static QEvent *cloneEvent(QEvent *e)
return new QHelpEvent(*static_cast<QHelpEvent*>(e));
case QEvent::WhatsThis:
return new QHelpEvent(*static_cast<QHelpEvent*>(e));
-#ifndef QT_NO_STATUSTIP
+#if QT_CONFIG(statustip)
case QEvent::StatusTip:
return new QStatusTipEvent(*static_cast<QStatusTipEvent*>(e));
-#endif //QT_NO_STATUSTIP
+#endif // QT_CONFIG(statustip)
#ifndef QT_NO_ACTION
case QEvent::ActionChanged:
case QEvent::ActionAdded: