summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libpyside/qsignal.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/libpyside/qsignal.cpp b/libpyside/qsignal.cpp
index a4fda063..41cc71df 100644
--- a/libpyside/qsignal.cpp
+++ b/libpyside/qsignal.cpp
@@ -264,6 +264,8 @@ char* get_type_name(PyObject* type)
typeName = strdup("long");
else if (objType == &PyFloat_Type)
typeName = strdup("qreal");
+ else if (objType == &PyBool_Type)
+ typeName = strdup("bool");
else
typeName = strdup("object");
}