summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorhjk <qtc-committer@nokia.com>2009-07-01 14:15:10 +0200
committerhjk <qtc-committer@nokia.com>2009-07-01 14:15:44 +0200
commitffee3f98afed26ea61d03714546ae2255e42897d (patch)
tree3e61402d530b740646131727faf02a57312af880 /share
parent013437cfab28853057316982ed5532105bf94e93 (diff)
downloadqt-creator-ffee3f98afed26ea61d03714546ae2255e42897d.tar.gz
debugger: fix regression in QVariant dumper
Diffstat (limited to 'share')
-rw-r--r--share/qtcreator/gdbmacros/gdbmacros.cpp4
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"));