use the popup only when the applet isn't our parent
svn path=/trunk/KDE/kdelibs/; revision=1026224
This commit is contained in:
parent
7ad7bfd634
commit
bd7cbf7773
@ -554,7 +554,7 @@ void AppletPrivate::positionMessageOverlay()
|
|||||||
}
|
}
|
||||||
|
|
||||||
PopupApplet *popup = qobject_cast<Plasma::PopupApplet*>(q);
|
PopupApplet *popup = qobject_cast<Plasma::PopupApplet*>(q);
|
||||||
const bool usePopup = popup && messageOverlay->parentItem() == q;
|
const bool usePopup = popup && (messageOverlay->parentItem() != q);
|
||||||
QGraphicsItem *topItem = q;
|
QGraphicsItem *topItem = q;
|
||||||
|
|
||||||
if (usePopup && popup->widget()) {
|
if (usePopup && popup->widget()) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user