From c00b3a9b4ac26cba6720454c83e3fedea04242e0 Mon Sep 17 00:00:00 2001 From: "Aaron J. Seigo" Date: Sun, 6 Jan 2008 00:50:56 +0000 Subject: [PATCH] * 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 --- widgets/tooltip.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/widgets/tooltip.cpp b/widgets/tooltip.cpp index 430676e6a..eebc0c286 100644 --- a/widgets/tooltip.cpp +++ b/widgets/tooltip.cpp @@ -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