forked from qt-creator/qt-creator
Debugger: Compile with QT_NO_CAST_FROM_ASCII.
(except gdbmi.cpp, name_demangler.cpp). Remove some unneeded conversions, change some maps to take QByteArray keys. Change-Id: I010f1251998a441fe5c8c87901b1e0c277c0391c Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
@@ -1063,7 +1063,7 @@ void TypeFormatsDialog::addTypeFormats(const QString &type0,
|
||||
const QStringList &typeFormats, int current)
|
||||
{
|
||||
QString type = type0;
|
||||
type.replace("__", "::");
|
||||
type.replace(QLatin1String("__"), QLatin1String("::"));
|
||||
int pos = 2;
|
||||
if (type.startsWith(QLatin1Char('Q')))
|
||||
pos = 0;
|
||||
|
||||
Reference in New Issue
Block a user