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:
parent
f58b012cee
commit
f6ac5f6052
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user