pass through mouse events if nobody is connected to us

svn path=/trunk/KDE/kdelibs/; revision=1161817
This commit is contained in:
Aaron J. Seigo 2010-08-10 21:44:55 +00:00
parent fa1350c34c
commit d6b2d44ae1

View File

@ -62,6 +62,8 @@ void SvgWidget::mousePressEvent(QGraphicsSceneMouseEvent *event)
// transparent"
if (receivers(SIGNAL(clicked(Qt::MouseButton)))) {
event->accept();
} else {
QGraphicsWidget::mousePressEvent(event);
}
}