summaryrefslogtreecommitdiffstats
path: root/src/widgets/qtooltip.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/widgets/qtooltip.cpp')
-rw-r--r--src/widgets/qtooltip.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/widgets/qtooltip.cpp b/src/widgets/qtooltip.cpp
index fc33aef55..924d563d7 100644
--- a/src/widgets/qtooltip.cpp
+++ b/src/widgets/qtooltip.cpp
@@ -262,11 +262,12 @@ void TQTipManager::remove( TQWidget *w, const TQRect & r, bool delayhide )
if ( t == 0 )
return;
- if ( t == currentTip )
+ if ( t == currentTip ) {
if (!delayhide)
hideTip();
else
currentTip->autoDelete = TRUE;
+ }
if ( t == previousTip )
previousTip = 0;