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:
@@ -28,6 +28,8 @@
|
||||
**
|
||||
**************************************************************************/
|
||||
|
||||
#define QT_NO_CAST_FROM_ASCII
|
||||
|
||||
#include "watchhandler.h"
|
||||
|
||||
#include "breakhandler.h"
|
||||
@@ -1413,7 +1415,7 @@ void WatchModel::showInEditorHelper(QString *contents, WatchItem *item, int dept
|
||||
contents->append(tab);
|
||||
contents->append(item->value);
|
||||
contents->append(tab);
|
||||
contents->append(item->type);
|
||||
contents->append(QString::fromLatin1(item->type));
|
||||
contents->append(nl);
|
||||
foreach (WatchItem *child, item->children)
|
||||
showInEditorHelper(contents, child, depth + 1);
|
||||
|
||||
Reference in New Issue
Block a user