pass through mouse events if nobody is connected to us
svn path=/trunk/KDE/kdelibs/; revision=1161817
This commit is contained in:
parent
fa1350c34c
commit
d6b2d44ae1
@ -62,6 +62,8 @@ void SvgWidget::mousePressEvent(QGraphicsSceneMouseEvent *event)
|
||||
// transparent"
|
||||
if (receivers(SIGNAL(clicked(Qt::MouseButton)))) {
|
||||
event->accept();
|
||||
} else {
|
||||
QGraphicsWidget::mousePressEvent(event);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user