Ammend last commit
This commit is contained in:
parent
39ce54c0db
commit
fb0728d40a
@ -125,7 +125,7 @@ void ContainmentInterface::init()
|
|||||||
if (containmentGraphicObject) {
|
if (containmentGraphicObject) {
|
||||||
QVariantHash toolboxProperties;
|
QVariantHash toolboxProperties;
|
||||||
toolboxProperties["parent"] = QVariant::fromValue(containmentGraphicObject);
|
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) {
|
if (toolBoxObject) {
|
||||||
containmentGraphicObject->setProperty("toolBox", QVariant::fromValue(toolBoxObject));
|
containmentGraphicObject->setProperty("toolBox", QVariant::fromValue(toolBoxObject));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user