diff options
Diffstat (limited to 'src/declarative/util/qmlstate.cpp')
-rw-r--r-- | src/declarative/util/qmlstate.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/declarative/util/qmlstate.cpp b/src/declarative/util/qmlstate.cpp index 2c44c86..1aa7ffe 100644 --- a/src/declarative/util/qmlstate.cpp +++ b/src/declarative/util/qmlstate.cpp @@ -74,7 +74,7 @@ ActionEvent::~ActionEvent() { } -QString ActionEvent::name() const +QString ActionEvent::typeName() const { return QString(); } @@ -360,13 +360,13 @@ void QmlState::apply(QmlStateGroup *group, QmlTransition *trans, QmlState *rever if (action.event) { if (!action.event->isReversable()) continue; - for (jj = 0; jj < d->revertList.count(); ++jj) { + /*for (jj = 0; jj < d->revertList.count(); ++jj) { ActionEvent *event = d->revertList.at(jj).event; - if (event && event->name() == action.event->name()) { + if (event && event->typeName() == action.event->typeName()) { found = true; break; } - } + }*/ //### not a close enough match } else { action.fromBinding = action.property.binding(); |