Commit 06f477fe authored by Marco Bubke's avatar Marco Bubke
Browse files

QmlDesigner.NodeInstances: Fix crash

parent e8781d65
......@@ -321,7 +321,7 @@ void NodeInstanceServer::addImports(const QVector<AddImportContainer> &container
componentString += QString("Item {}\n");
importComponent.setData(componentString.toUtf8(), QUrl());
importComponent.setData(componentString.toUtf8(), fileUrl());
if (!importComponent.errorString().isEmpty())
qDebug() << "QmlDesigner.NodeInstances: import wrong: " << importComponent.errorString();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment