debugger: remove a few too-fancy typedefs

Change-Id: I0c8ba3c2d22ca7128527da42b81919dabbd82d14
Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
hjk
2012-02-16 11:12:02 +01:00
committed by hjk
parent 29a7ee6cf4
commit b9d15b113f
8 changed files with 27 additions and 29 deletions

View File

@@ -1047,7 +1047,7 @@ void GdbEngine::handleDebuggingHelperValue3Classic(const GdbResponse &response)
int l = out.isEmpty() ? 0 : list.size();
for (int i = 0; i < l; ++i)
str.append(list.at(i).toInt());
data.setValue(_c('"') + str + _c('"'));
data.setValue(QLatin1Char('"') + str + QLatin1Char('"'));
data.setHasChildren(false);
data.setAllUnneeded();
insertData(data);
@@ -1425,9 +1425,9 @@ void GdbEngine::handleVarListChildrenHelperClassic(const GdbMi &item,
data.exp = "*(" + parent.exp + ')';
} else if (startsWithDigit(data.name)) {
// An array. No variables needed?
data.name = _c('[') + data.name + _c(']');
data.name = QLatin1Char('[') + data.name + QLatin1Char(']');
data.exp = parent.exp + '[' + exp + ']';
} else if (0 && parent.name.endsWith(_c('.'))) {
} else if (0 && parent.name.endsWith(QLatin1Char('.'))) {
// Happens with anonymous unions
data.exp = parent.exp + data.name.toLatin1();
//data.name = "<anonymous union>";