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:
parent
4b193edf0e
commit
8680797130
@ -87,6 +87,7 @@ DesktopToolbox::DesktopToolbox(QGraphicsItem *parent)
|
|||||||
setZValue(10000000);
|
setZValue(10000000);
|
||||||
setFlag(ItemClipsToShape, true);
|
setFlag(ItemClipsToShape, true);
|
||||||
setFlag(ItemClipsChildrenToShape, false);
|
setFlag(ItemClipsChildrenToShape, false);
|
||||||
|
setFlag(ItemIgnoresTransformations, true);
|
||||||
|
|
||||||
connect(Plasma::Phase::self(), SIGNAL(movementComplete(QGraphicsItem*)), this, SLOT(toolMoved(QGraphicsItem*)));
|
connect(Plasma::Phase::self(), SIGNAL(movementComplete(QGraphicsItem*)), this, SLOT(toolMoved(QGraphicsItem*)));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user