diff options
author | Kent Hansen <kent.hansen@nokia.com> | 2011-10-05 11:33:01 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-10-05 15:00:38 +0200 |
commit | 5049cff4969b969a3bec5d14945a07972bdb17bc (patch) | |
tree | da96635c3c6dd9887677db17b430f99f31f9a66e /src/corelib | |
parent | 57c6f22858dc2d545bab705a9b9308b3eac354de (diff) |
Add missing Q_OBJECT macro to GoToStateTransition
The missing macro caused qFindChild() to return any
QAbstractTransition.
Task-number: QTBUG-21813
Change-Id: I80507aa86c8c32d7fa59a1b5ae551043f5f90315
Reviewed-on: http://codereview.qt-project.org/6044
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>
Diffstat (limited to 'src/corelib')
-rw-r--r-- | src/corelib/statemachine/qstatemachine.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/corelib/statemachine/qstatemachine.cpp b/src/corelib/statemachine/qstatemachine.cpp index fcaebff148..927389a33b 100644 --- a/src/corelib/statemachine/qstatemachine.cpp +++ b/src/corelib/statemachine/qstatemachine.cpp @@ -1396,6 +1396,7 @@ namespace _QStateMachine_Internal{ class GoToStateTransition : public QAbstractTransition { + Q_OBJECT public: GoToStateTransition(QAbstractState *target) : QAbstractTransition() @@ -2396,6 +2397,7 @@ QStateMachine::WrappedEvent::~WrappedEvent() QT_END_NAMESPACE +#include "qstatemachine.moc" #include "moc_qstatemachine.cpp" #endif //QT_NO_STATEMACHINE |