summaryrefslogtreecommitdiffstats
path: root/src/corelib/statemachine/qsignaltransition.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/statemachine/qsignaltransition.cpp')
-rw-r--r--src/corelib/statemachine/qsignaltransition.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/corelib/statemachine/qsignaltransition.cpp b/src/corelib/statemachine/qsignaltransition.cpp
index d5833bd..fd17292 100644
--- a/src/corelib/statemachine/qsignaltransition.cpp
+++ b/src/corelib/statemachine/qsignaltransition.cpp
@@ -228,11 +228,7 @@ void QSignalTransition::setSignal(const QByteArray &signal)
bool QSignalTransition::eventTest(QEvent *event) const
{
Q_D(const QSignalTransition);
-#ifndef QT_STATEMACHINE_SOLUTION
if (event->type() == QEvent::Signal) {
-#else
- if (event->type() == QEvent::Type(QEvent::User-1)) {
-#endif
if (d->signalIndex == -1)
return false;
QSignalEvent *se = static_cast<QSignalEvent*>(event);