Commit c09616aa authored by David Schulz's avatar David Schulz Committed by hjk
Browse files

Debugger: Print invalid when QByteArray can not be converted... a numeric value for encoded debugger values.

Change-Id: I9969ea01f50738210963fa08dc871edc90c1bae2
Reviewed-by: default avatarhjk <>
parent 6eed8e38
......@@ -630,7 +630,10 @@ QString decodeData(const QByteArray &ba, int encoding)
return QString::fromUtf8(decodedBa);
case MillisecondsSinceEpoch: {
const qint64 ms = ba.toLongLong();
bool ok = false;
const qint64 ms = ba.toLongLong(&ok);
if (!ok)
return QLatin1String(ba);
QDateTime d;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment