summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRenato Filho <renato.filho@openbossa.org>2010-08-30 18:08:14 -0300
committerRenato Filho <renato.filho@openbossa.org>2010-08-30 18:09:22 -0300
commita326f0ff296dfc0ce1f7457fdbe9ac04f3f11616 (patch)
treef05c6bce161c47cfa3c066f35d5af5f547cb6053
parentd27d6958c07fdb2d452484ddda0b615c43c8db7b (diff)
downloadshiboken-a326f0ff296dfc0ce1f7457fdbe9ac04f3f11616.tar.gz
shiboken-a326f0ff296dfc0ce1f7457fdbe9ac04f3f11616.tar.xz
shiboken-a326f0ff296dfc0ce1f7457fdbe9ac04f3f11616.zip
Fixed args type parse for bool types on signal.
-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");
}