From 8031d80df57ce912c99561bcf54c9eb73fb498bb Mon Sep 17 00:00:00 2001 From: David Edmundson Date: Tue, 9 Aug 2016 23:58:36 +0100 Subject: [PATCH] Fix argument type in QMetaObject invoke Commit bb70febdbe397b617e5c41aff5494fdbc185fa88 ported an argument from QRect to QRectF. However, not all local invocations were updated. REVIEW: 128641 --- 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 55d91aa9d..6ee6733ba 100644 --- a/src/scriptengines/qml/plasmoid/containmentinterface.cpp +++ b/src/scriptengines/qml/plasmoid/containmentinterface.cpp @@ -462,7 +462,7 @@ void ContainmentInterface::processMimeData(QMimeData *mimeData, int x, int y) foreach (const QString &appletName, appletNames) { qDebug() << "adding" << appletName; - metaObject()->invokeMethod(this, "createApplet", Qt::QueuedConnection, Q_ARG(QString, appletName), Q_ARG(QVariantList, QVariantList()), Q_ARG(QRect, QRect(x, y, -1, -1))); + metaObject()->invokeMethod(this, "createApplet", Qt::QueuedConnection, Q_ARG(QString, appletName), Q_ARG(QVariantList, QVariantList()), Q_ARG(QRectF, QRectF(x, y, -1, -1))); } } else if (mimeData->hasUrls()) { //TODO: collect the mimetypes of available script engines and offer