forked from qt-creator/qt-creator
Valgrind: Strip QLatin1*
Change-Id: If93ca890ab6d023ab786a5153f50a1dfa03764de Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
committed by
Orgad Shaneh
parent
7096649fc2
commit
2c212d48a5
@@ -102,9 +102,9 @@ void SuppressionFrame::setObject(const QString &obj)
|
||||
QString SuppressionFrame::toString() const
|
||||
{
|
||||
if (!d->fun.isEmpty())
|
||||
return QLatin1String("fun:") + d->fun;
|
||||
return "fun:" + d->fun;
|
||||
else
|
||||
return QLatin1String("obj:") + d->obj;
|
||||
return "obj:" + d->obj;
|
||||
}
|
||||
|
||||
class Suppression::Private : public QSharedData
|
||||
@@ -222,7 +222,7 @@ QString Suppression::toString() const
|
||||
{
|
||||
QString ret;
|
||||
QTextStream stream(&ret);
|
||||
const QLatin1String indent(" ");
|
||||
const QString indent(" ");
|
||||
|
||||
stream << "{\n";
|
||||
stream << indent << d->name << '\n';
|
||||
|
||||
Reference in New Issue
Block a user