forked from qt-creator/qt-creator
Utils: Compile with QT_NO_CAST_FROM_ASCII
Change-Id: Id600156bb3cef3aeea5d8b4d6bf879e77d755710 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
2f862681d7
commit
55948453cd
@@ -153,8 +153,8 @@ QVariant EnvironmentModel::data(const QModelIndex &index, int role) const
|
||||
if (role == Qt::ToolTipRole && value.length() > 80) {
|
||||
// Use html to enable text wrapping
|
||||
value = Qt::escape(value);
|
||||
value.prepend("<html><body>");
|
||||
value.append("</body></html>");
|
||||
value.prepend(QLatin1String("<html><body>"));
|
||||
value.append(QLatin1String("</body></html>"));
|
||||
}
|
||||
return value;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user