* drop the "to be hidden timer"

* don't immediately reset isShown, that's why we have the timer in the first place (really, it just looks like left-over code from before the hide timer)

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=757828
This commit is contained in:
Aaron J. Seigo 2008-01-06 00:50:56 +00:00
parent 658f0c4bb3
commit c00b3a9b4a

View File

@ -96,11 +96,8 @@ void ToolTip::hide()
{
d->currentWidget = 0;
d->showTimer->stop(); //Mouse out, stop the timer to show the tooltip
if (!isVisible()) {
d->isShown = false;
}
setVisible(false);
d->hideTimer->start(500); //500 ms delay before we are officially "gone" to allow for the time to move between widgets
d->hideTimer->start(250); //500 ms delay before we are officially "gone" to allow for the time to move between widgets
}
Plasma::Widget *ToolTip::currentWidget() const