diff options
author | hjk <[email protected]> | 2009-12-07 12:06:01 +0100 |
---|---|---|
committer | hjk <[email protected]> | 2009-12-07 12:07:10 +0100 |
commit | 32d3db8200ddc395d0ea1f734c04ae8843057608 (patch) | |
tree | bf3068e57c890ee5164cfce7902ebd823b097148 /src/plugins/debugger/watchhandler.cpp | |
parent | 4794cbf030ac6fd69b1aa7e9820e7df55f736c3d (diff) |
debugger: special handling for char*
Diffstat (limited to 'src/plugins/debugger/watchhandler.cpp')
-rw-r--r-- | src/plugins/debugger/watchhandler.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/debugger/watchhandler.cpp b/src/plugins/debugger/watchhandler.cpp index b1c1a818e61..c8b25794722 100644 --- a/src/plugins/debugger/watchhandler.cpp +++ b/src/plugins/debugger/watchhandler.cpp @@ -166,7 +166,8 @@ void WatchData::setValue(const QString &value0) // "numchild" is sometimes lying //MODEL_DEBUG("\n\n\nPOINTER: " << type << value); if (isPointerType(type)) - setHasChildren(value != "0x0" && value != "<null>"); + setHasChildren(value != "0x0" && value != "<null>" + && !isCharPointerType(type)); // pointer type information is available in the 'type' // column. No need to duplicate it here. |