aboutsummaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorhjk <qtc-committer@nokia.com>2008-12-05 18:27:45 +0100
committerhjk <qtc-committer@nokia.com>2008-12-05 18:27:45 +0100
commitd8b343afa1fc753b5f2f68377b06e7e3bf406baf (patch)
treecc98a6cdbcaf3db73bab72bd2f00644c6a240c62 /bin
parent84261f00ea94a0c0a556043afd7b66b9d4feb874 (diff)
silence warning
Diffstat (limited to 'bin')
-rw-r--r--bin/gdbmacros/gdbmacros.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/bin/gdbmacros/gdbmacros.cpp b/bin/gdbmacros/gdbmacros.cpp
index 0d6575db5b..2043f65973 100644
--- a/bin/gdbmacros/gdbmacros.cpp
+++ b/bin/gdbmacros/gdbmacros.cpp
@@ -1674,7 +1674,10 @@ static void qDumpQObjectSignal(QDumper &d)
d.beginHash();
P(d, "name", "[" << i << "] slot");
P(d, "type", "");
- P(d, "value", conn.receiver->metaObject()->method(conn.method).signature());
+ if (conn.receiver)
+ P(d, "value", conn.receiver->metaObject()->method(conn.method).signature());
+ else
+ P(d, "value", "<invalid receiver>");
P(d, "numchild", "0");
d.endHash();
d.beginHash();