Commit a27003c4 authored by Tim Jenssen's avatar Tim Jenssen
Browse files

QmlDesigner: adding text at root item error case

Change-Id: I2a9533d3d3eb71e60e3d0328e651e40676b24f14
Reviewed-by: Riitta-Leena Miettinen's avatarLeena Miettinen <>
Reviewed-by: Tim Jenssen's avatarTim Jenssen <>
parent a071871c
......@@ -365,7 +365,12 @@ void NavigatorTreeModel::updateItemRow(const ModelNode &modelNode, ItemRow items
if (currentQmlObjectNode.hasError()) {
items.idItem->setData(true, ErrorRole);
QString errorString = currentQmlObjectNode.error();
if (currentQmlObjectNode.isRootNode()) {
errorString.append(QString("\n%1").arg(tr("Changing the setting \"%1\" might solve the issue.").arg(
tr("Use QML emulation layer that is built with the selected Qt"))));
} else {
items.idItem->setData(false, ErrorRole);
......@@ -222,7 +222,7 @@
<widget class="QRadioButton" name="useQtRelatedPuppetRadioButton">
<property name="text">
<string>Use QML emulation layer that is built by the selected Qt</string>
<string>Use QML emulation layer that is built with the selected Qt</string>
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