fixes the clicked signal.. thanks to Anrdreas, the MAN!
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=695685
This commit is contained in:
parent
ce090faab8
commit
510c39002a
@ -697,6 +697,7 @@ kDebug() << "Icon::mousePressEvent ";
|
|||||||
d->state = Private::PressedState;
|
d->state = Private::PressedState;
|
||||||
QGraphicsItem::mousePressEvent(event);
|
QGraphicsItem::mousePressEvent(event);
|
||||||
update();
|
update();
|
||||||
|
event->accept();
|
||||||
}
|
}
|
||||||
|
|
||||||
void Icon::mouseReleaseEvent(QGraphicsSceneMouseEvent *event)
|
void Icon::mouseReleaseEvent(QGraphicsSceneMouseEvent *event)
|
||||||
|
Loading…
Reference in New Issue
Block a user