diff options
author | Prasanth Ullattil <prasanth.ullattil@nokia.com> | 2010-10-07 09:29:55 (GMT) |
---|---|---|
committer | Prasanth Ullattil <prasanth.ullattil@nokia.com> | 2010-10-07 10:25:35 (GMT) |
commit | cdb680fb847f6220598655fb8e1195fb4c98bbe8 (patch) | |
tree | c3ebf5c7346a743c93c52ae3747a09343e5b127d /src/corelib/statemachine | |
parent | 6729e107c95ab108954d2acbf0a77a75fa087d1a (diff) | |
download | Qt-cdb680fb847f6220598655fb8e1195fb4c98bbe8.zip Qt-cdb680fb847f6220598655fb8e1195fb4c98bbe8.tar.gz Qt-cdb680fb847f6220598655fb8e1195fb4c98bbe8.tar.bz2 |
Compile fix for mingw
Reviewed-by: Olivier Goffart
Diffstat (limited to 'src/corelib/statemachine')
-rw-r--r-- | src/corelib/statemachine/qstatemachine.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/corelib/statemachine/qstatemachine.cpp b/src/corelib/statemachine/qstatemachine.cpp index d704615..09558a9 100644 --- a/src/corelib/statemachine/qstatemachine.cpp +++ b/src/corelib/statemachine/qstatemachine.cpp @@ -1389,7 +1389,7 @@ void QStateMachinePrivate::cancelAllDelayedEvents() delayedEvents.clear(); } -namespace { +namespace _QStateMachine_Internal{ class GoToStateTransition : public QAbstractTransition { @@ -1403,7 +1403,9 @@ protected: }; } // namespace - +// mingw compiler tries to export QObject::findChild<GoToStateTransition>(), +// which doesn't work if its in an anonymous namespace. +using namespace _QStateMachine_Internal; /*! \internal |