diff --git a/private/desktoptoolbox.cpp b/private/desktoptoolbox.cpp index d33a100d6..b3d1c19f8 100644 --- a/private/desktoptoolbox.cpp +++ b/private/desktoptoolbox.cpp @@ -118,6 +118,16 @@ class EmptyGraphicsItem : public QGraphicsWidget return false; } + void hoverEnterEvent(QGraphicsSceneHoverEvent *event) + { + event->accept(); + } + + void hoverLeaveEvent(QGraphicsSceneHoverEvent *event) + { + m_itemBackground->hide(); + } + private: QRectF m_rect; Plasma::FrameSvg *m_background;