diff options
Diffstat (limited to 'src/declarative/util/qmlanimation.cpp')
-rw-r--r-- | src/declarative/util/qmlanimation.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/declarative/util/qmlanimation.cpp b/src/declarative/util/qmlanimation.cpp index 7d9e30f..1ea6575 100644 --- a/src/declarative/util/qmlanimation.cpp +++ b/src/declarative/util/qmlanimation.cpp @@ -1153,7 +1153,9 @@ void QmlParentChangeAction::transition(QmlStateActions &actions, Action &action = actions[ii]; //### should we still use target to filter? - if (action.event /*&& action.event->name() == d->parentChange*/) { //### + //### still need type-specific matching + if (action.event + && action.event->typeName() == QLatin1String("ParentChange")) { Action myAction = action; data->reverse = action.reverseEvent; data->actions << myAction; |