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:
parent
8746bf62cc
commit
16fb457bbe
@ -748,10 +748,6 @@ void DesktopToolBox::hoverLeaveEvent(QGraphicsSceneHoverEvent *event)
|
|||||||
|
|
||||||
void DesktopToolBox::hideToolBox()
|
void DesktopToolBox::hideToolBox()
|
||||||
{
|
{
|
||||||
if (!isShowing()) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
Plasma::Animator *animdriver = Plasma::Animator::self();
|
Plasma::Animator *animdriver = Plasma::Animator::self();
|
||||||
foreach (QGraphicsItem *tool, QGraphicsItem::children()) {
|
foreach (QGraphicsItem *tool, QGraphicsItem::children()) {
|
||||||
if (tool == d->toolBacker) {
|
if (tool == d->toolBacker) {
|
||||||
|
Loading…
Reference in New Issue
Block a user