always hide when hide is called:

otherwise when zooming in the toolbox will stay in toolbar mode and be visible over the desktop (oh boy how much rhis needs to be scrapped)

svn path=/trunk/KDE/kdelibs/; revision=1065542
This commit is contained in:
Marco Martin 2009-12-23 16:07:37 +00:00
parent 8746bf62cc
commit 16fb457bbe

View File

@ -748,10 +748,6 @@ void DesktopToolBox::hoverLeaveEvent(QGraphicsSceneHoverEvent *event)
void DesktopToolBox::hideToolBox()
{
if (!isShowing()) {
return;
}
Plasma::Animator *animdriver = Plasma::Animator::self();
foreach (QGraphicsItem *tool, QGraphicsItem::children()) {
if (tool == d->toolBacker) {