try using the animated hiding in edge docked cases.. let's see how this goes :)

svn path=/trunk/KDE/kdelibs/; revision=954612
This commit is contained in:
Aaron J. Seigo 2009-04-16 03:20:29 +00:00
parent b479428114
commit 2dab71aaa7

View File

@ -432,7 +432,11 @@ void PopupApplet::showPopup(uint popupDuration)
void PopupApplet::hidePopup()
{
if (d->dialog) {
d->dialog->hide();
if (location() != Floating) {
d->dialog->animatedHide(locationToInverseDirection(location()));
} else {
d->dialog->hide();
}
}
}
@ -511,7 +515,11 @@ void PopupAppletPrivate::internalTogglePopup()
}
if (dialog->isVisible()) {
dialog->hide();
if (q->location() != Floating) {
dialog->animatedHide(locationToInverseDirection(q->location()));
} else {
dialog->hide();
}
} else {
ToolTipManager::self()->hide(q);
updateDialogPosition();