diff options
author | Renato Filho <renato.filho@openbossa.org> | 2010-07-23 11:45:30 -0300 |
---|---|---|
committer | Renato Filho <renato.filho@openbossa.org> | 2010-07-23 11:45:30 -0300 |
commit | 3267accc9f8c96371302531fdb8d1c24271cfd44 (patch) | |
tree | e20c02b5549ff7f4a69c7f642c2ce32ea0658447 | |
parent | 8bde4b3800ca1c5c517fe382f6fdf78c212b9ad0 (diff) |
Fixed uninitialized value.
-rw-r--r-- | libpyside/dynamicqmetaobject.cpp | 4 | ||||
-rw-r--r-- | libpyside/dynamicqmetaobject.h | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/libpyside/dynamicqmetaobject.cpp b/libpyside/dynamicqmetaobject.cpp index 8f97b567e..0e545faa0 100644 --- a/libpyside/dynamicqmetaobject.cpp +++ b/libpyside/dynamicqmetaobject.cpp @@ -215,6 +215,10 @@ bool MethodData::isValid() const return m_signature->size(); } +PropertyData::PropertyData() + : m_data(0) +{ +} PropertyData::PropertyData(const char* name, PyObject* data) : m_name(name), m_data(data) diff --git a/libpyside/dynamicqmetaobject.h b/libpyside/dynamicqmetaobject.h index 23a69c9a9..f8c120b4f 100644 --- a/libpyside/dynamicqmetaobject.h +++ b/libpyside/dynamicqmetaobject.h @@ -69,7 +69,7 @@ private: class PropertyData { public: - PropertyData(){} + PropertyData(); PropertyData(const char*name, PyObject *data); QByteArray name() const; QByteArray type() const; |