summaryrefslogtreecommitdiffstats
path: root/libpyside/dynamicqmetaobject.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libpyside/dynamicqmetaobject.cpp')
-rw-r--r--libpyside/dynamicqmetaobject.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/libpyside/dynamicqmetaobject.cpp b/libpyside/dynamicqmetaobject.cpp
index 4dfd80f..abc115a 100644
--- a/libpyside/dynamicqmetaobject.cpp
+++ b/libpyside/dynamicqmetaobject.cpp
@@ -473,6 +473,8 @@ void DynamicQMetaObject::parsePythonType(PyTypeObject* type)
PyObject* value = 0;
Py_ssize_t pos = 0;
+ Shiboken::GilState gil;
+
typedef std::pair<const char*, PyObject*> PropPair;
QLinkedList<PropPair> properties;