From 1eb741395cbe0c2195912c0fd1fe6030c74e9109 Mon Sep 17 00:00:00 2001 From: Thomas Hartmann Date: Fri, 27 May 2022 15:21:26 +0200 Subject: [PATCH] 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: Reviewed-by: Thomas Hartmann --- .../qmldesigner/components/navigator/navigatortreemodel.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/plugins/qmldesigner/components/navigator/navigatortreemodel.cpp b/src/plugins/qmldesigner/components/navigator/navigatortreemodel.cpp index 6106f901948..0a92f81d93f 100644 --- a/src/plugins/qmldesigner/components/navigator/navigatortreemodel.cpp +++ b/src/plugins/qmldesigner/components/navigator/navigatortreemodel.cpp @@ -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; }