diff --git a/desktoptoolbox.cpp b/desktoptoolbox.cpp index 39d66eefb..173265044 100644 --- a/desktoptoolbox.cpp +++ b/desktoptoolbox.cpp @@ -129,7 +129,7 @@ void DesktopToolbox::hoverEnterEvent(QGraphicsSceneHoverEvent *event) void DesktopToolbox::hoverLeaveEvent(QGraphicsSceneHoverEvent *event) { // Plasma::Phase::self->moveItem(this, Phase::SlideOut, boundingRect()QPoint(-50, -50)); - int x = m_size*2; // TODO: this is an arbitrary value, try to calculate basing on the tool width + int x = m_size*2; int y = 0; Plasma::Phase* phase = Plasma::Phase::self(); foreach (QGraphicsItem* tool, QGraphicsItem::children()) {