allows the panel toolbox to zoom out, so isn't shown anymore at the top

of the screen when desktop is zoomed out

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=814577
This commit is contained in:
Marco Martin 2008-05-30 18:23:22 +00:00
parent 6406af5f58
commit 3c2f92084e

View File

@ -102,7 +102,9 @@ PanelToolBox::PanelToolBox(QGraphicsItem *parent)
setZValue(10000000);
setFlag(ItemClipsToShape, true);
setFlag(ItemClipsChildrenToShape, false);
setFlag(ItemIgnoresTransformations, true);
//panel toolbox is allowed to zoom, otherwise a part of it will be displayed behind the desktop
//toolbox when the desktop is zoomed out
setFlag(ItemIgnoresTransformations, false);
}
PanelToolBox::~PanelToolBox()