aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorhjk <[email protected]>2014-05-22 17:41:01 +0200
committerhjk <[email protected]>2014-05-23 13:06:12 +0200
commit4fefb1ca2a5270752acf00d586393f472fb1b9a3 (patch)
tree637ff26a084781d8323dbe646e02e25e329e147a /src
parent21dd82ed236736d83754cba14df56d33c602e661 (diff)
Debugger: Restrict non-negative display convention to non-decimal bases
Change-Id: I95421efa219a85cb81bf1d6a4acbc71eef5736ac Reviewed-by: Christian Stenger <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/plugins/debugger/watchhandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/debugger/watchhandler.cpp b/src/plugins/debugger/watchhandler.cpp
index 463d3028acb..8371d6ea7b7 100644
--- a/src/plugins/debugger/watchhandler.cpp
+++ b/src/plugins/debugger/watchhandler.cpp
@@ -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) {