src/declarative/util/qdeclarativetransitionmanager.cpp
changeset 33 3e2da88830cd
parent 30 5dc02b23752f
child 37 758a864f9613
equal deleted inserted replaced
30:5dc02b23752f 33:3e2da88830cd
   231                 action.event->execute();
   231                 action.event->execute();
   232         } else if (!action.event && !action.toBinding) {
   232         } else if (!action.event && !action.toBinding) {
   233             action.property.write(action.toValue);
   233             action.property.write(action.toValue);
   234         }
   234         }
   235     }
   235     }
       
   236 #ifndef QT_NO_DEBUG_STREAM
   236     if (stateChangeDebug()) {
   237     if (stateChangeDebug()) {
   237         foreach(const QDeclarativeAction &action, applyList) {
   238         foreach(const QDeclarativeAction &action, applyList) {
   238             if (action.event)
   239             if (action.event)
   239                 qWarning() << "    No transition for event:" << action.event->typeName();
   240                 qWarning() << "    No transition for event:" << action.event->typeName();
   240             else
   241             else
   241                 qWarning() << "    No transition for:" << action.property.object()
   242                 qWarning() << "    No transition for:" << action.property.object()
   242                            << action.property.name() << "From:" << action.fromValue 
   243                            << action.property.name() << "From:" << action.fromValue 
   243                            << "To:" << action.toValue;
   244                            << "To:" << action.toValue;
   244         }
   245         }
   245     }
   246     }
       
   247 #endif
   246     if (!transition)
   248     if (!transition)
   247         d->applyBindings();
   249         d->applyBindings();
   248 }
   250 }
   249 
   251 
   250 void QDeclarativeTransitionManager::cancel()
   252 void QDeclarativeTransitionManager::cancel()