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

Change-Id: I95421efa219a85cb81bf1d6a4acbc71eef5736ac
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
This commit is contained in:
hjk
2014-05-22 17:41:01 +02:00
parent 21dd82ed23
commit 4fefb1ca2a

View File

@@ -527,7 +527,7 @@ template <class IntType> QString reformatInteger(IntType value, int format)
static QString reformatInteger(quint64 value, int format, int size, bool isSigned)
{
// Follow convention and don't show negative non-decimal numbers.
if (format != AutomaticFormat)
if (format != AutomaticFormat && format != DecimalIntegerFormat)
isSigned = false;
switch (size) {