equal
deleted
inserted
replaced
813 if(QTapGesture *gesture = static_cast<QTapGesture *>(event->gesture(Qt::TapGesture))) { |
813 if(QTapGesture *gesture = static_cast<QTapGesture *>(event->gesture(Qt::TapGesture))) { |
814 // Stop scrolling on tap |
814 // Stop scrolling on tap |
815 if (gesture->state() == Qt::GestureStarted) { |
815 if (gesture->state() == Qt::GestureStarted) { |
816 if (d->mIsAnimating && !d->positionOutOfBounds() && !d->mMultiFlickEnabled) { |
816 if (d->mIsAnimating && !d->positionOutOfBounds() && !d->mMultiFlickEnabled) { |
817 d->stopAnimating(); |
817 d->stopAnimating(); |
|
818 HbWidgetFeedback::triggered(this, Hb::InstantPressed, Hb::ModifierScrolling); |
818 event->accept(gesture); |
819 event->accept(gesture); |
819 } else { |
820 } else { |
820 event->ignore(gesture); |
821 event->ignore(gesture); |
821 } |
822 } |
822 } |
823 } |