forked from qt-creator/qt-creator
Debugger: Inline putStringValueByAddress into its only user
Change-Id: I858f113507ad5712962dc6568e28230ff6dc2916 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -747,10 +747,6 @@ class DumperBase:
|
||||
inner = inner[p+3:]
|
||||
return inner
|
||||
|
||||
def putStringValueByAddress(self, addr):
|
||||
elided, data = self.encodeStringHelper(addr, self.displayStringLimit)
|
||||
self.putValue(data, 'utf16', elided=elided)
|
||||
|
||||
def putStringValue(self, value):
|
||||
addr = self.extractPointer(value)
|
||||
elided, data = self.encodeStringHelper(addr, self.displayStringLimit)
|
||||
|
||||
Reference in New Issue
Block a user