Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
...@@ -1706,7 +1706,7 @@ def qdump__QTextCursor(d, value): ...@@ -1706,7 +1706,7 @@ def qdump__QTextCursor(d, value):
with Children(d): with Children(d):
positionAddress = privAddress + 2 * d.ptrSize() + 8 positionAddress = privAddress + 2 * d.ptrSize() + 8
d.putIntItem("position", d.extractInt(positionAddress)) 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") d.putCallItem("selected", value, "selectedText")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment