Fix a little bug

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=854104
This commit is contained in:
Alexis Ménard 2008-08-28 20:34:03 +00:00
parent 384f31bf82
commit 7c817fd06c

View File

@ -241,6 +241,11 @@ void ToolTipManager::setToolTipActivated(QGraphicsWidget *widget, bool enable)
ToolTip *tooltip = d->tooltips.value(widget);
tooltip->setActivated(enable);
if (!enable) {
hideToolTip(widget);
} else {
showToolTip(widget);
}
}
bool ToolTipManager::isToolTipActivated(QGraphicsWidget *widget)