Fix missing cleanup in early return
commit c8fdd7ed2032b7b0664a6c9d0d56296f674abeb2 pushes a lazy fix for a crash, but instead just leaves all signals blocked on ContainmentInterface REVIEW: 128642
This commit is contained in:
parent
1ace6a46de
commit
920dbcb1e8
@ -240,6 +240,7 @@ Plasma::Applet *ContainmentInterface::createApplet(const QString &plugin, const
|
||||
QQuickItem *appletGraphicObject = applet->property("_plasma_graphicObject").value<QQuickItem *>();
|
||||
//invalid applet?
|
||||
if (!appletGraphicObject) {
|
||||
blockSignals(false);
|
||||
return applet;
|
||||
}
|
||||
if (geom.width() > 0 && geom.height() > 0) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user