forked from qt-creator/qt-creator
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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user