summaryrefslogtreecommitdiffstats
path: root/src/widgets/statemachine/qguistatemachine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/widgets/statemachine/qguistatemachine.cpp')
-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: