From 3f516ddda60df5326649d996841a9df14fe3166b Mon Sep 17 00:00:00 2001 From: Marco Martin Date: Tue, 13 May 2014 13:45:32 +0200 Subject: [PATCH] adapt api change --- src/scriptengines/qml/plasmoid/containmentinterface.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scriptengines/qml/plasmoid/containmentinterface.cpp b/src/scriptengines/qml/plasmoid/containmentinterface.cpp index fee3c49a5..8e5c8a17b 100644 --- a/src/scriptengines/qml/plasmoid/containmentinterface.cpp +++ b/src/scriptengines/qml/plasmoid/containmentinterface.cpp @@ -301,7 +301,7 @@ void ContainmentInterface::processMimeData(QMimeData *mimeData, int x, int y) foreach (const QString &appletName, appletNames) { qDebug() << "adding" << appletName; - metaObject()->invokeMethod(this, "addApplet", Qt::QueuedConnection, Q_ARG(QString, appletName), Q_ARG(QVariantList, QVariantList()), Q_ARG(QPoint, QPoint(x, y))); + metaObject()->invokeMethod(this, "createApplet", Qt::QueuedConnection, Q_ARG(QString, appletName), Q_ARG(QVariantList, QVariantList()), Q_ARG(QPoint, QPoint(x, y))); } } else if (mimeData->hasUrls()) { //TODO: collect the mimetypes of available script engines and offer