added missing call to popupMe and a TODO.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=854073
This commit is contained in:
Davide Bettio 2008-08-28 19:43:36 +00:00
parent e79a749db8
commit 5f1f8a5d1f

View File

@ -294,6 +294,7 @@ void PopupAppletPrivate::togglePopup()
q->popupEvent(!dialog->isVisible());
if (dialog->isVisible()) {
//TODO: probably this code is never executed... I can't understand why
dialog->hide();
} else {
dialog->move(q->popupPosition(dialog->size()));
@ -308,6 +309,7 @@ void PopupAppletPrivate::hideTimedPopup()
{
timer->stop();
q->hidePopup();
q->popupEvent(false);
}
void PopupAppletPrivate::dialogSizeChanged()