@@ -217,7 +217,9 static PyObject* PythonQtClassWrapper_alloc(PyTypeObject *self, Py_ssize_t nitem | |||||
217 | // take current class type, if we are called via newPythonQtClassWrapper() |
|
217 | // take current class type, if we are called via newPythonQtClassWrapper() | |
218 | PythonQtClassWrapper* wrap = (PythonQtClassWrapper*)obj; |
|
218 | PythonQtClassWrapper* wrap = (PythonQtClassWrapper*)obj; | |
219 | wrap->_classInfo = PythonQt::priv()->currentClassInfoForClassWrapperCreation(); |
|
219 | wrap->_classInfo = PythonQt::priv()->currentClassInfoForClassWrapperCreation(); | |
220 | initializeSlots(wrap); |
|
220 | if (wrap->_classInfo) { | |
|
221 | initializeSlots(wrap); | |||
|
222 | } | |||
221 |
|
223 | |||
222 | return obj; |
|
224 | return obj; | |
223 | } |
|
225 | } |
General Comments 0
You need to be logged in to leave comments.
Login now