diff options
author | Thorbjørn Lindeijer <bjorn@lindeijer.nl> | 2021-12-23 11:06:01 +0100 |
---|---|---|
committer | Thorbjørn Lindeijer <bjorn@lindeijer.nl> | 2022-01-10 15:57:40 +0000 |
commit | 11730d44910a51953a0a64237667617c5c623361 (patch) | |
tree | 03fb4c57044c81ac3b1d4074291bd4086b5dc71c /qtwinmigrate/examples/mfc/step3/childview.h | |
parent | 9568abd142d581b67b86a5f63d823a34b0612702 (diff) |
QtPropertyBrowser: Fix an issue when setting "flagNames"
Setting the "flagNames" attribute causes the QtFlagPropertyManager to
re-create its child properties. This causes the QtVariantPropertyManager
to re-create its wrapping QtVariantProperty instances.
When this happens with a property that is already added to a property
browser, the value icon and text were requested before the
QtVariantPropertyManager had set up the mapping between the wrapping
QtVariantProperty instance and the internal property. This caused the
returned icon and text for the child flag properties to be empty.
Change-Id: If2166136b4ae3931c229c215f90f8582da81d2c3
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
Diffstat (limited to 'qtwinmigrate/examples/mfc/step3/childview.h')
0 files changed, 0 insertions, 0 deletions