forked from qt-creator/qt-creator
Debugger: Fix string usages.
- Compile with QT_NO_CAST_FROM_ASCII. - Remove single character string constants. Change-Id: Icece98619b6c30e047d3fce00e6ae74bbcd53c67 Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
@@ -62,7 +62,7 @@ QString SnapshotData::function() const
|
||||
if (m_frames.isEmpty())
|
||||
return QString();
|
||||
const StackFrame &frame = m_frames.at(0);
|
||||
return frame.function + ":" + QString::number(frame.line);
|
||||
return frame.function + QLatin1Char(':') + QString::number(frame.line);
|
||||
}
|
||||
|
||||
QString SnapshotData::toString() const
|
||||
|
||||
Reference in New Issue
Block a user