only reshow tooltip if it's the current widget

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=855654
This commit is contained in:
Alexis Ménard 2008-09-01 10:16:43 +00:00
parent e037260031
commit 7943daabac

View File

@ -243,7 +243,7 @@ void ToolTipManager::setToolTipActivated(QGraphicsWidget *widget, bool enable)
tooltip->setActivated(enable);
if (!enable) {
hideToolTip(widget);
} else {
} else if (d->currentWidget) {
showToolTip(widget);
}
}