forked from qt-creator/qt-creator
Display length of QByteArray's in debugger pane
Task-number: QTCREATORBUG-30065 Change-Id: I155fe83d6d2956552aa0127caae3971c70a49551 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
committed by
Xavier BESSON (Personal)
parent
2fe5b61aab
commit
6515f935d6
@@ -753,7 +753,7 @@ QString decodeData(const QString &ba, const QString &encoding)
|
||||
|
||||
if (enc.quotes) {
|
||||
const QChar doubleQuote('"');
|
||||
result = doubleQuote + result + doubleQuote;
|
||||
result = QString("%1 (%2)").arg(doubleQuote + result + doubleQuote).arg(result.size());
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
Reference in New Issue
Block a user