take care of our own connecting, thank you very much

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=828086
This commit is contained in:
Aaron J. Seigo 2008-07-04 16:46:30 +00:00
parent 9e8629645a
commit 6f06fd2590

View File

@ -104,6 +104,7 @@ DesktopToolBox::DesktopToolBox(QGraphicsItem *parent)
d(new DesktopToolBoxPrivate)
{
connect(Plasma::Animator::self(), SIGNAL(movementFinished(QGraphicsItem*)), this, SLOT(toolMoved(QGraphicsItem*)));
connect(this, SIGNAL(toggled()), this, SLOT(toggle()));
setZValue(10000000);
setFlag(ItemClipsToShape, true);