This commit is contained in:
Marco Martin 2013-09-23 11:39:38 +02:00
parent a94af39541
commit 14a3bced4a

View File

@ -210,7 +210,9 @@ void ContainmentInterface::setAppletArgs(Plasma::Applet *applet, const QString &
} }
AppletInterface *appletInterface = applet->property("graphicObject").value<AppletInterface *>(); AppletInterface *appletInterface = applet->property("graphicObject").value<AppletInterface *>();
emit appletInterface->externalData(mimetype, data); if (appletInterface) {
emit appletInterface->externalData(mimetype, data);
}
} }
void ContainmentInterface::processMimeData(QMimeData *mimeData, int x, int y) void ContainmentInterface::processMimeData(QMimeData *mimeData, int x, int y)