diff --git a/src/libs/utils/environmentmodel.cpp b/src/libs/utils/environmentmodel.cpp index 8992ad7e4b4..d2989e51a9f 100644 --- a/src/libs/utils/environmentmodel.cpp +++ b/src/libs/utils/environmentmodel.cpp @@ -151,7 +151,7 @@ QVariant EnvironmentModel::data(const QModelIndex &index, int role) const QString value = d->m_resultEnvironment.value(d->m_resultEnvironment.constBegin() + index.row()); if (role == Qt::ToolTipRole) { // Use html to enable text wrapping - value = value.toHtmlEscaped(); + value = Qt::escape(value); value.prepend(""); value.append(""); }