ignore right mouse events
svn path=/trunk/KDE/kdelibs/; revision=1050222
This commit is contained in:
parent
dcda8b9986
commit
4ffc256c8b
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user