Ammend last commit

This commit is contained in:
David Edmundson 2014-02-07 19:37:06 +01:00
parent 39ce54c0db
commit fb0728d40a

View File

@ -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));
}