forked from qt-creator/qt-creator
Debugger: Split DebuggerEncoding enum
... into a string specifying a kind of encoding (utf8, latin1), an optional bytesize (2-byte integers, 4-byte integers) and a flag whether the displayed value should get "..." around it. Scales better than adding an enum value for each new combination. Change-Id: Iffcb1e2f148f12da96e165559a976bd34026c649 Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
This commit is contained in:
@@ -1788,7 +1788,7 @@ void WatchItem::parseWatchData(const GdbMi &input)
|
||||
};
|
||||
|
||||
auto arrayDecoder = [itemAdder](const WatchData &childTemplate,
|
||||
const QByteArray &encodedData, int encoding) {
|
||||
const QByteArray &encodedData, const DebuggerEncoding &encoding) {
|
||||
decodeArrayData(itemAdder, childTemplate, encodedData, encoding);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user