61
61
connect(animation, &QQuickAbstractAnimation::stopped,
62
62
this, &ListItemDragHandler::dropItem, Qt::DirectConnection);
63
63
// force properties to contain only the 'y' coordinate
65
65
animation->setTargetObject(listItem);
66
66
animation->setFrom(listItem->y());
67
67
animation->setTo(targetPos.y());