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:
parent
1ace6a46de
commit
920dbcb1e8
@ -240,6 +240,7 @@ Plasma::Applet *ContainmentInterface::createApplet(const QString &plugin, const
|
|||||||
QQuickItem *appletGraphicObject = applet->property("_plasma_graphicObject").value<QQuickItem *>();
|
QQuickItem *appletGraphicObject = applet->property("_plasma_graphicObject").value<QQuickItem *>();
|
||||||
//invalid applet?
|
//invalid applet?
|
||||||
if (!appletGraphicObject) {
|
if (!appletGraphicObject) {
|
||||||
|
blockSignals(false);
|
||||||
return applet;
|
return applet;
|
||||||
}
|
}
|
||||||
if (geom.width() > 0 && geom.height() > 0) {
|
if (geom.width() > 0 && geom.height() > 0) {
|
||||||
|
Loading…
Reference in New Issue
Block a user