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:
@@ -209,7 +209,7 @@ QString Function::location() const
|
||||
QString o = object();
|
||||
if (o.isEmpty())
|
||||
return QString();
|
||||
if (f.isEmpty() || f == "???")
|
||||
if (f.isEmpty() || f == QLatin1String("???"))
|
||||
return o;
|
||||
if (pos.isEmpty())
|
||||
return QCoreApplication::translate("Valgrind::Callgrind::Function", "%1 in %2").arg(f, o);
|
||||
|
||||
Reference in New Issue
Block a user