Make the desktop toolbox ignore zoom-ins and zoom-outs,

and therefore always remain visible and clickable.
Fix celeste's "bug". :-)

Shall it always remain on the top-right corner? I'll let
the panel-devel folks decide.

Signed-off-by: Riccardo Iaconelli <riccardo@kde.org>

CCMAIL: panel-devel@kde.org

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=778736
This commit is contained in:
Riccardo Iaconelli 2008-02-24 13:35:30 +00:00
parent 4b193edf0e
commit 8680797130

View File

@ -87,6 +87,7 @@ DesktopToolbox::DesktopToolbox(QGraphicsItem *parent)
setZValue(10000000);
setFlag(ItemClipsToShape, true);
setFlag(ItemClipsChildrenToShape, false);
setFlag(ItemIgnoresTransformations, true);
connect(Plasma::Phase::self(), SIGNAL(movementComplete(QGraphicsItem*)), this, SLOT(toolMoved(QGraphicsItem*)));
}