diff --git a/src/scriptengines/qml/plasmoid/containmentinterface.cpp b/src/scriptengines/qml/plasmoid/containmentinterface.cpp index 0c55d3059..382d7fd8a 100644 --- a/src/scriptengines/qml/plasmoid/containmentinterface.cpp +++ b/src/scriptengines/qml/plasmoid/containmentinterface.cpp @@ -210,7 +210,9 @@ void ContainmentInterface::setAppletArgs(Plasma::Applet *applet, const QString & } AppletInterface *appletInterface = applet->property("graphicObject").value(); - emit appletInterface->externalData(mimetype, data); + if (appletInterface) { + emit appletInterface->externalData(mimetype, data); + } } void ContainmentInterface::processMimeData(QMimeData *mimeData, int x, int y)