Fix a little bug
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=854104
This commit is contained in:
parent
384f31bf82
commit
7c817fd06c
@ -241,6 +241,11 @@ void ToolTipManager::setToolTipActivated(QGraphicsWidget *widget, bool enable)
|
|||||||
|
|
||||||
ToolTip *tooltip = d->tooltips.value(widget);
|
ToolTip *tooltip = d->tooltips.value(widget);
|
||||||
tooltip->setActivated(enable);
|
tooltip->setActivated(enable);
|
||||||
|
if (!enable) {
|
||||||
|
hideToolTip(widget);
|
||||||
|
} else {
|
||||||
|
showToolTip(widget);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
bool ToolTipManager::isToolTipActivated(QGraphicsWidget *widget)
|
bool ToolTipManager::isToolTipActivated(QGraphicsWidget *widget)
|
||||||
|
Loading…
Reference in New Issue
Block a user