OSDN Git Service
(root)
/
qt-creator-jp
/
qt-creator-jp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
36c00b4
)
debugger: avoid one inferior call in QDir dumper
author
hjk
<qtc-committer@nokia.com>
Mon, 1 Nov 2010 10:53:33 +0000
(11:53 +0100)
committer
hjk
<qtc-committer@nokia.com>
Mon, 1 Nov 2010 10:54:15 +0000
(11:54 +0100)
Reviewed-by: Friedemann Kleint
share/qtcreator/gdbmacros/gdbmacros.py
patch
|
blob
|
history
diff --git
a/share/qtcreator/gdbmacros/gdbmacros.py
b/share/qtcreator/gdbmacros/gdbmacros.py
index
b2f2399
..
54ddbd5
100644
(file)
--- a/
share/qtcreator/gdbmacros/gdbmacros.py
+++ b/
share/qtcreator/gdbmacros/gdbmacros.py
@@
-233,7
+233,7
@@
def qdump__QDateTime(d, item):
def qdump__QDir(d, item):
- d.putStringValue(
call(item.value, "path()")
)
+ d.putStringValue(
item.value["d_ptr"]["d"].dereference()["path"]
)
d.putNumChild(2)
if d.isExpanded(item):
with Children(d, 2):