forked from qt-creator/qt-creator
Valgrind: Compile with QT_NO_CAST_FROM_ASCII
Change-Id: I935579630c4d2f3a7bce69756da9eceb5e2bc005 Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
@@ -212,7 +212,7 @@ QModelIndex DataModel::indexForObject(const Function *function) const
|
||||
static QString noWrap(const QString &str)
|
||||
{
|
||||
QString escapedStr = str;
|
||||
return escapedStr.replace(QLatin1Char('-'), "‑");
|
||||
return escapedStr.replace(QLatin1Char('-'), QLatin1String("‑"));
|
||||
}
|
||||
|
||||
static QString shortenTemplate(QString str)
|
||||
|
||||
Reference in New Issue
Block a user