diff options
author | hjk <qtc-committer@nokia.com> | 2009-07-01 14:15:10 +0200 |
---|---|---|
committer | hjk <qtc-committer@nokia.com> | 2009-07-01 14:15:44 +0200 |
commit | ffee3f98afed26ea61d03714546ae2255e42897d (patch) | |
tree | 3e61402d530b740646131727faf02a57312af880 /share | |
parent | 013437cfab28853057316982ed5532105bf94e93 (diff) | |
download | qt-creator-ffee3f98afed26ea61d03714546ae2255e42897d.tar.gz |
debugger: fix regression in QVariant dumper
Diffstat (limited to 'share')
-rw-r--r-- | share/qtcreator/gdbmacros/gdbmacros.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/share/qtcreator/gdbmacros/gdbmacros.cpp b/share/qtcreator/gdbmacros/gdbmacros.cpp index e7594707fe..03840ac854 100644 --- a/share/qtcreator/gdbmacros/gdbmacros.cpp +++ b/share/qtcreator/gdbmacros/gdbmacros.cpp @@ -2460,7 +2460,7 @@ static void qDumpQVariant(QDumper &d) d.putItem("value", "(invalid)"); } else if (value.isEmpty()) { d.beginItem("value"); - d.put("(").put(v.typeName()).put(") ").put(qPrintable(value)); + d.put("(").put(v.typeName()).put(") "); d.endItem(); } else { QByteArray ba; @@ -2469,7 +2469,7 @@ static void qDumpQVariant(QDumper &d) ba += ") "; ba += qPrintable(value); d.putItem("value", ba); - d.putItem("valueencoded", "4"); + d.putItem("valueencoded", "5"); } d.putItem("type", NS"QVariant"); d.putItem("numchild", (isInvalid ? "0" : "1")); |