Commit 8452f28b authored by Thomas Hartmann's avatar Thomas Hartmann

QmlDesigner.nodeInstances: fix regression

Images are visible again.

Change-Id: I02c2a2e741accda4d3f67cbb2a1cf5a12cabafb1
Reviewed-on: http://codereview.qt.nokia.com/484Reviewed-by: default avatarQt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: default avatarThomas Hartmann <Thomas.Hartmann@nokia.com>
parent 0ef59d99
......@@ -379,7 +379,7 @@ void NodeInstanceServer::setupImports(const QVector<AddImportContainer> &contain
void NodeInstanceServer::setupFileUrl(const QUrl &fileUrl)
{
if (fileUrl.isEmpty()) {
if (!fileUrl.isEmpty()) {
engine()->setBaseUrl(fileUrl);
m_fileUrl = fileUrl;
}
......
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