SVN commit 1118442 by mart: hide the itembackground when the mouse leaes the toolbox M +10 -0 desktoptoolbox.cpp --- trunk/KDE/kdelibs/plasma/private/desktoptoolbox.cpp #1118441:1118442 @@ -118,6 +118,16 @@ return false; } + void hoverEnterEvent(QGraphicsSceneHoverEvent *event) + { + event->accept(); + } + + void hoverLeaveEvent(QGraphicsSceneHoverEvent *event) + { + m_itemBackground->hide(); + } + private: QRectF m_rect; Plasma::FrameSvg *m_background;