Commit 4548872c authored by hjk's avatar hjk
Browse files

Debugger: Fix QTextCursor dumper



Change-Id: I9e26e4dcee19caa0b4292655efdfeda5f1232714
Reviewed-by: default avatarhjk <hjk121@nokiamail.com>
parent fd773ce5
......@@ -1706,7 +1706,7 @@ def qdump__QTextCursor(d, value):
with Children(d):
positionAddress = privAddress + 2 * d.ptrSize() + 8
d.putIntItem("position", d.extractInt(positionAddress))
d.putIntItem("anchor", d.extractInt(positionAddress + intSize))
d.putIntItem("anchor", d.extractInt(positionAddress + d.intSize()))
d.putCallItem("selected", value, "selectedText")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment