Fix missing cleanup in early return

commit c8fdd7ed20 pushes a lazy fix for a
crash, but instead just leaves all signals blocked on
ContainmentInterface

REVIEW: 128642
This commit is contained in:
David Edmundson 2016-08-10 00:45:04 +01:00
parent 1ace6a46de
commit 920dbcb1e8

View File

@ -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) {