SVN_SILENT: don't pass click on main icon when clicking on an action icon

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=761952
This commit is contained in:
Marco Martin 2008-01-15 18:51:43 +00:00
parent 39b5eb33ce
commit 67844a4190

View File

@ -1017,7 +1017,9 @@ void Icon::mouseReleaseEvent(QGraphicsSceneMouseEvent *event)
}
}
handled = d->clickStartPos != scenePos();
if (!handled) {
handled = d->clickStartPos != scenePos();
}
if (!handled) {
if (boundingRect().contains(event->pos())) {