From fb0728d40a508aa58e95ba043e4a656cdae28e9c Mon Sep 17 00:00:00 2001 From: David Edmundson Date: Fri, 7 Feb 2014 19:37:06 +0100 Subject: [PATCH] Ammend last commit --- 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 e9c00ac09..c22594cf7 100644 --- a/src/scriptengines/qml/plasmoid/containmentinterface.cpp +++ b/src/scriptengines/qml/plasmoid/containmentinterface.cpp @@ -125,7 +125,7 @@ void ContainmentInterface::init() if (containmentGraphicObject) { QVariantHash toolboxProperties; toolboxProperties["parent"] = QVariant::fromValue(containmentGraphicObject); - QObject *toolBoxObject = qmlObject()->createObjectFromSource(QUrl::fromLocalFile(pkg.filePath("mainscript")), toolboxProperties); + QObject *toolBoxObject = qmlObject()->createObjectFromSource(QUrl::fromLocalFile(pkg.filePath("mainscript")), 0, toolboxProperties); if (toolBoxObject) { containmentGraphicObject->setProperty("toolBox", QVariant::fromValue(toolBoxObject)); }