From cc24f1839a5f2c936b56eb15dd86bf8cdb44ed03 Mon Sep 17 00:00:00 2001 From: Weng Xuetian Date: Wed, 26 Dec 2012 11:28:35 -0500 Subject: [PATCH] fix tooltip shadow problem. avoid confusations between the deleted window size and the "dirty" area. BUG: 311502 REVIEW: 107905 --- tooltipmanager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tooltipmanager.cpp b/tooltipmanager.cpp index 00bfcdb05..d90dc9c5a 100644 --- a/tooltipmanager.cpp +++ b/tooltipmanager.cpp @@ -314,8 +314,8 @@ void ToolTipManagerPrivate::createTipWidget() void ToolTipManagerPrivate::hideTipWidget() { if (tipWidget) { - shadow->removeWindow(tipWidget); tipWidget->hide(); + shadow->removeWindow(tipWidget); tipWidget->deleteLater(); tipWidget = 0; }