fix tooltip shadow problem.

avoid confusations between the deleted window size and the "dirty" area.

BUG: 311502
REVIEW: 107905
This commit is contained in:
Weng Xuetian 2012-12-26 11:28:35 -05:00
parent 4a2ed6f47e
commit cc24f1839a

View File

@ -314,8 +314,8 @@ void ToolTipManagerPrivate::createTipWidget()
void ToolTipManagerPrivate::hideTipWidget()
{
if (tipWidget) {
shadow->removeWindow(tipWidget);
tipWidget->hide();
shadow->removeWindow(tipWidget);
tipWidget->deleteLater();
tipWidget = 0;
}