forked from qt-creator/qt-creator
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:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user