ignore right mouse events

svn path=/trunk/KDE/kdelibs/; revision=1050222
This commit is contained in:
Marco Martin 2009-11-16 22:05:35 +00:00
parent dcda8b9986
commit 4ffc256c8b

View File

@ -480,6 +480,10 @@ void ScrollWidget::mouseMoveEvent(QGraphicsSceneMouseEvent *event)
void ScrollWidget::mousePressEvent(QGraphicsSceneMouseEvent *event)
{
if (!(event->buttons() & Qt::LeftButton)) {
event->ignore();
}
if (d->animId) {
Animator::self()->stopItemMovement(d->animId);
}