Skip to content

Commit

Permalink
Fix condition check against wrong variable
Browse files Browse the repository at this point in the history
Change-Id: I0857166e666e886077e4b0eda2d8b00b13f99ba6
Reviewed-by: Bea Lam <bea.lam@nokia.com>
  • Loading branch information
Bea Lam authored and Qt by Nokia committed Feb 21, 2012
1 parent 2ac7e70 commit bc81d64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/quick/items/qquickitemview.cpp
Expand Up @@ -165,7 +165,7 @@ void FxViewItem::startTransition()
if (nextTransitionType == FxViewItemTransitionManager::NoTransition)
return;

if (!transition || transition->m_type != nextTransitionType || transition->m_type != isTransitionTarget) {
if (!transition || transition->m_type != nextTransitionType || transition->m_isTarget != isTransitionTarget) {
delete transition;
transition = new FxViewItemTransitionManager;
}
Expand Down

0 comments on commit bc81d64

Please sign in to comment.