forked from qt-creator/qt-creator
Dumper: Fix QObject detection when using procedure linkage tables
Change-Id: I3ac9889b822cb30d2ccdb6a7e2452e753cc3f2df Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -254,6 +254,7 @@ class DumperBase:
|
||||
self.typesToReport = {}
|
||||
self.qtNamespaceToReport = None
|
||||
self.qtCustomEventFunc = 0
|
||||
self.qtCustomEventPltFunc = 0
|
||||
self.qtPropertyFunc = 0
|
||||
self.passExceptions = False
|
||||
self.isTesting = False
|
||||
@@ -1472,7 +1473,7 @@ class DumperBase:
|
||||
self.bump('nostruct-3')
|
||||
return False
|
||||
|
||||
return self.qtCustomEventFunc == customEventFunc
|
||||
return customEventFunc in (self.qtCustomEventFunc, self.qtCustomEventPltFunc)
|
||||
|
||||
def extractQObjectProperty(objectPtr):
|
||||
vtablePtr = self.extractPointer(objectPtr)
|
||||
|
||||
Reference in New Issue
Block a user