forked from qt-creator/qt-creator
Replaced one-char-strings
Change-Id: I873606e5a5cd92c0987bc89bd2bfa085a384b797 Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
This commit is contained in:
committed by
Robert Löhning
parent
be4adfac23
commit
b2760bf2ef
@@ -212,7 +212,7 @@ QModelIndex DataModel::indexForObject(const Function *function) const
|
||||
static QString noWrap(const QString &str)
|
||||
{
|
||||
QString escapedStr = str;
|
||||
return escapedStr.replace("-", "‑");
|
||||
return escapedStr.replace(QLatin1Char('-'), "‑");
|
||||
}
|
||||
|
||||
QVariant DataModel::data(const QModelIndex &index, int role) const
|
||||
|
||||
Reference in New Issue
Block a user