diff options
Diffstat (limited to 'libpyside/pyside.cpp')
-rw-r--r-- | libpyside/pyside.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libpyside/pyside.cpp b/libpyside/pyside.cpp index 45ada8f47..0eb1e7a55 100644 --- a/libpyside/pyside.cpp +++ b/libpyside/pyside.cpp @@ -80,7 +80,7 @@ bool fillQtProperties(PyObject* qObj, const QMetaObject* metaObj, PyObject* kwds Shiboken::AutoDecRef retval(PyObject_CallObject(propSetter, args)); } else { PyObject* attr = PyObject_GenericGetAttr(qObj, key); - if (PySide::Property::isPropertyType(attr)) + if (PySide::Property::checkType(attr)) PySide::Property::setValue(reinterpret_cast<PySideProperty*>(attr), qObj, value); } } else { @@ -216,7 +216,7 @@ PyObject* getMetaDataFromQObject(QObject* cppSelf, PyObject* self, PyObject* nam if (!Shiboken::Object::isValid(reinterpret_cast<SbkObject*>(self), false)) return attr; - if (attr && Property::isPropertyType(attr)) { + if (attr && Property::checkType(attr)) { PyObject *value = Property::getValue(reinterpret_cast<PySideProperty*>(attr), self); Py_DECREF(attr); if (!value) |