Commit 4fefb1ca authored by hjk's avatar hjk
Browse files

Debugger: Restrict non-negative display convention to non-decimal bases



Change-Id: I95421efa219a85cb81bf1d6a4acbc71eef5736ac
Reviewed-by: default avatarChristian Stenger <christian.stenger@digia.com>
parent 21dd82ed
...@@ -527,7 +527,7 @@ template <class IntType> QString reformatInteger(IntType value, int format) ...@@ -527,7 +527,7 @@ template <class IntType> QString reformatInteger(IntType value, int format)
static QString reformatInteger(quint64 value, int format, int size, bool isSigned) static QString reformatInteger(quint64 value, int format, int size, bool isSigned)
{ {
// Follow convention and don't show negative non-decimal numbers. // Follow convention and don't show negative non-decimal numbers.
if (format != AutomaticFormat) if (format != AutomaticFormat && format != DecimalIntegerFormat)
isSigned = false; isSigned = false;
switch (size) { switch (size) {
......
Markdown is supported
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