avoid flicker

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=773744
This commit is contained in:
Aaron J. Seigo 2008-02-11 17:35:21 +00:00
parent a438b53373
commit c7fe098480

View File

@ -145,6 +145,9 @@ void ToolTip::showToolTip()
} }
layout()->activate(); layout()->activate();
resize(sizeHint());
move(d->currentWidget->popupPosition(size()));
if (isVisible()) { if (isVisible()) {
d->preview->setInfo(); d->preview->setInfo();
} else { } else {
@ -152,8 +155,6 @@ void ToolTip::showToolTip()
} }
d->isShown = true; //ToolTip is visible d->isShown = true; //ToolTip is visible
resize(sizeHint());
move(d->currentWidget->popupPosition(size()));
} }
void ToolTip::resetShownState() void ToolTip::resetShownState()