diff options
author | Thomas Hartmann <thomas.hartmann@qt.io> | 2022-05-27 15:21:26 +0200 |
---|---|---|
committer | Thomas Hartmann <thomas.hartmann@qt.io> | 2022-05-27 14:35:10 +0000 |
commit | 1eb741395cbe0c2195912c0fd1fe6030c74e9109 (patch) | |
tree | c4201c92e8fb01a11cda76503e2e58c6577aca08 | |
parent | 0b51afe21d6aa72b4b9faafc14f759d77f428e32 (diff) |
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>
-rw-r--r-- | src/plugins/qmldesigner/components/navigator/navigatortreemodel.cpp | 5 |
1 files changed, 0 insertions, 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; } |