avoid flicker
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=773744
This commit is contained in:
parent
a438b53373
commit
c7fe098480
@ -145,6 +145,9 @@ void ToolTip::showToolTip()
|
||||
}
|
||||
layout()->activate();
|
||||
|
||||
resize(sizeHint());
|
||||
move(d->currentWidget->popupPosition(size()));
|
||||
|
||||
if (isVisible()) {
|
||||
d->preview->setInfo();
|
||||
} else {
|
||||
@ -152,8 +155,6 @@ void ToolTip::showToolTip()
|
||||
}
|
||||
|
||||
d->isShown = true; //ToolTip is visible
|
||||
resize(sizeHint());
|
||||
move(d->currentWidget->popupPosition(size()));
|
||||
}
|
||||
|
||||
void ToolTip::resetShownState()
|
||||
|
Loading…
Reference in New Issue
Block a user