set a parent on the item so we can count on it getting deleted when we remove it
svn path=/trunk/KDE/kdelibs/; revision=1047342
This commit is contained in:
parent
e77dfbe529
commit
687e1f57a1
@ -1116,6 +1116,7 @@ void Applet::showMessage(const QIcon &icon, const QString &message, const Messag
|
||||
delete d->messageDialog.data();
|
||||
d->createMessageOverlay();
|
||||
d->messageOverlay->opacity = 0.8;
|
||||
mainWidget->setParentItem(d->messageOverlay);
|
||||
QGraphicsLinearLayout *l = new QGraphicsLinearLayout(d->messageOverlay);
|
||||
l->addItem(mainWidget);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user