diff options
author | Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io> | 2019-02-06 18:08:36 +0100 |
---|---|---|
committer | Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io> | 2019-02-07 08:25:42 +0000 |
commit | 9a371088d6b8e8a0986a30a8dfb0076669275103 (patch) | |
tree | af2173b9ae9d5abe1da6f9696e6279b734e3fbdf /sources/pyside2/PySide2/glue | |
parent | 7b8bcf437adcd0bb19e0209796cfbed770e9cd33 (diff) |
Propagate Property attributes to the MetaObject
The attributes were ignored when a new Property was
being add to the MetaObject.
The addProperty method was only creating a new QProperty
with the name and default values.
The way of setting the attributes comes from:
src/corelib/kernel/qmetaobjectbuilder.cpp
specifically QMetaObjectBuilder::addProperty.
Change-Id: Id81a274b3c2ae9d6b3413ebd54c776cefa392a38
Fixes: PYSIDE-924
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'sources/pyside2/PySide2/glue')
0 files changed, 0 insertions, 0 deletions