QmlDesigner: Remove reference to emulation layer

This removes the reference to emulation layer in error messages.

Task-number: QDS-7019
Change-Id: I120647266c007ce41481c4980a705d57b5a3e544
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
Thomas Hartmann
2022-05-27 15:21:26 +02:00
parent 0b51afe21d
commit 1eb741395c

View File

@@ -229,11 +229,6 @@ QVariant NavigatorTreeModel::data(const QModelIndex &index, int role) const
} else if (role == Qt::ToolTipRole) {
if (currentQmlObjectNode.hasError()) {
QString errorString = currentQmlObjectNode.error();
if (QmlProjectManager::QmlProject::isQtDesignStudio()
&& 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"))));
}
return errorString;
}