forked from qt-creator/qt-creator
debugger: make a 'type' a QByteArray, not a QString
Saves lots of conversion.
This commit is contained in:
@@ -683,7 +683,7 @@ void CdbEngine::evaluateWatcher(WatchData *wd)
|
||||
exp.remove(0, 6);
|
||||
if (m_d->evaluateExpression(exp, &value, &type, &errorMessage)) {
|
||||
wd->setValue(value);
|
||||
wd->setType(type);
|
||||
wd->setType(type.toUtf8());
|
||||
} else {
|
||||
wd->setValue(errorMessage);
|
||||
wd->setTypeUnneeded();
|
||||
|
||||
Reference in New Issue
Block a user