diff options
author | Hugo Parente Lima <hugo.pl@gmail.com> | 2010-10-06 16:38:35 -0300 |
---|---|---|
committer | Hugo Parente Lima <hugo.pl@gmail.com> | 2010-10-07 11:44:07 -0300 |
commit | f2c59b613b28bfc8c1351d09ec7edaaedb174bfc (patch) | |
tree | f67f52ba8ce35dbc9c422ee17a15f80677496123 /libpyside/dynamicqmetaobject.cpp | |
parent | 16ccce72d8c2763051806a5fc9caa574fa1dcc61 (diff) |
Move structs tagged as "export C" outside C++ namespaces.
Also don't export structs that don't need to be exported.
Diffstat (limited to 'libpyside/dynamicqmetaobject.cpp')
-rw-r--r-- | libpyside/dynamicqmetaobject.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libpyside/dynamicqmetaobject.cpp b/libpyside/dynamicqmetaobject.cpp index ce3ba3b99..3882ea201 100644 --- a/libpyside/dynamicqmetaobject.cpp +++ b/libpyside/dynamicqmetaobject.cpp @@ -388,7 +388,7 @@ DynamicQMetaObject* DynamicQMetaObject::createBasedOn(PyObject* pyObj, PyTypeObj while (PyDict_Next(type->tp_dict, &pos, &key, &value)) { //Register properties - if (value->ob_type == &QProperty_Type) { + if (value->ob_type == &PySideQPropertyType) { mo->addProperty(PyString_AsString(key), value); } |