From d8b343afa1fc753b5f2f68377b06e7e3bf406baf Mon Sep 17 00:00:00 2001 From: hjk Date: Fri, 5 Dec 2008 18:27:45 +0100 Subject: silence warning --- bin/gdbmacros/gdbmacros.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'bin/gdbmacros/gdbmacros.cpp') 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", ""); P(d, "numchild", "0"); d.endHash(); d.beginHash(); -- cgit v1.2.1