return whether the popup widget is shown as a popup, not whether it's at all visible

BUG:181884

svn path=/branches/KDE/4.2/kdelibs/; revision=916813
This commit is contained in:
Aaron J. Seigo 2009-01-26 03:16:53 +00:00
parent 9683275509
commit 0e15fbe835

View File

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