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"
|
// transparent"
|
||||||
if (receivers(SIGNAL(clicked(Qt::MouseButton)))) {
|
if (receivers(SIGNAL(clicked(Qt::MouseButton)))) {
|
||||||
event->accept();
|
event->accept();
|
||||||
|
} else {
|
||||||
|
QGraphicsWidget::mousePressEvent(event);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user