technically probably more accurate, since in the case of no dialog .... we are showing the popup!

svn path=/trunk/KDE/kdelibs/; revision=903161
This commit is contained in:
Aaron J. Seigo 2008-12-30 02:11:10 +00:00
parent f58b012cee
commit f6ac5f6052

View File

@ -314,7 +314,6 @@ void PopupAppletPrivate::popupConstraintsEvent(Plasma::Constraints constraints)
QObject::connect(dialog, SIGNAL(dialogVisible(bool)), q, SLOT(dialogStatusChanged(bool)));
}
if (icon && lay) {
lay->addItem(icon);
}
@ -438,7 +437,7 @@ bool PopupApplet::isPassivePopup() const
bool PopupApplet::isPopupShowing() const
{
return d->dialog && d->dialog->isVisible();
return !d->dialog || d->dialog->isVisible();
}
PopupAppletPrivate::PopupAppletPrivate(PopupApplet *applet)