summaryrefslogtreecommitdiffstats
path: root/src/corelib/statemachine/qeventtransition.cpp
diff options
context:
space:
mode:
authorKent Hansen <khansen@trolltech.com>2009-05-13 10:39:11 (GMT)
committerKent Hansen <khansen@trolltech.com>2009-05-13 10:39:11 (GMT)
commit6b2d3e437bf1632191f62c603f754f895d4122eb (patch)
tree1a43dbafd5047014d97c257ae0651fc38ac7c14f /src/corelib/statemachine/qeventtransition.cpp
parent5c7c8208c559d82e96aa7aa8c753c224d89022a2 (diff)
downloadQt-6b2d3e437bf1632191f62c603f754f895d4122eb.zip
Qt-6b2d3e437bf1632191f62c603f754f895d4122eb.tar.gz
Qt-6b2d3e437bf1632191f62c603f754f895d4122eb.tar.bz2
kill the QT_STATEMACHINE_SOLUTION define
We won't release another Qt Solution, so the define is no longer needed.
Diffstat (limited to 'src/corelib/statemachine/qeventtransition.cpp')
-rw-r--r--src/corelib/statemachine/qeventtransition.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/corelib/statemachine/qeventtransition.cpp b/src/corelib/statemachine/qeventtransition.cpp
index 86259e4..3ae3ed9 100644
--- a/src/corelib/statemachine/qeventtransition.cpp
+++ b/src/corelib/statemachine/qeventtransition.cpp
@@ -255,11 +255,7 @@ void QEventTransition::setEventObject(QObject *object)
bool QEventTransition::eventTest(QEvent *event) const
{
Q_D(const QEventTransition);
-#ifdef QT_STATEMACHINE_SOLUTION
- if (event->type() == QEvent::Type(QEvent::User-3)) {
-#else
if (event->type() == QEvent::Wrapped) {
-#endif
QWrappedEvent *we = static_cast<QWrappedEvent*>(event);
return (we->object() == d->object)
&& (we->event()->type() == d->eventType);