return whether the popup is shown as a popup, not whether the popup is at all visible at all

svn path=/trunk/KDE/kdelibs/; revision=916812
This commit is contained in:
Aaron J. Seigo 2009-01-26 03:15:50 +00:00
parent 948215e476
commit 029154f2ff

View File

@ -434,7 +434,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)