forked from qt-creator/qt-creator
Dumper: Use correct integer value for enums
In case of an enum bitfield Change-Id: I1e7756d5dffb4d81030795c495f2474a77c50452 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
committed by
Orgad Shaneh
parent
f34324d419
commit
25f5710df2
@@ -2891,7 +2891,7 @@ class DumperBase:
|
||||
|
||||
def display(self):
|
||||
if self.type.code == TypeCodeEnum:
|
||||
intval = self.extractInteger(self.type.bitsize(), False)
|
||||
intval = self.integer()
|
||||
return self.type.typeData().enumDisplay(intval, self.laddress)
|
||||
simple = self.value()
|
||||
if simple is not None:
|
||||
|
||||
Reference in New Issue
Block a user