unfortunately this has to be disabled since blocks clicks on webview :/

svn path=/trunk/KDE/kdelibs/; revision=1059153
This commit is contained in:
Marco Martin 2009-12-05 22:18:15 +00:00
parent 6cc357bb94
commit ac7e75f460

View File

@ -234,12 +234,6 @@ void KineticScrolling::mousePressEvent(QGraphicsSceneMouseEvent *event)
d->syncViewportRect(); d->syncViewportRect();
d->cposition = -d->parent->property("scrollPosition").value<QPointF>(); d->cposition = -d->parent->property("scrollPosition").value<QPointF>();
if (event && d->cposition == QPointF(0, 0) &&
d->viewportGeometry.width() + 2 >= d->contentsSize.width() &&
d->viewportGeometry.height() + 2 >= d->contentsSize.height()) {
event->ignore( );
}
d->count(); d->count();
d->kinMovement = QPointF(0,0); d->kinMovement = QPointF(0,0);
d->scrollAnimation->setEasingCurve(QEasingCurve::OutCirc); d->scrollAnimation->setEasingCurve(QEasingCurve::OutCirc);