diff options
| author | Volker Hilsheimer <[email protected]> | 2025-12-04 08:12:42 +0100 |
|---|---|---|
| committer | Volker Hilsheimer <[email protected]> | 2025-12-04 14:29:20 +0100 |
| commit | eecc41edcaa85a39c5981e9813a33fc8392f7cd3 (patch) | |
| tree | db202ca112d856ee4c43683dd7d8bb2497bb737b /src/tools/tracepointgen/tracepointgen.h | |
| parent | e22cd01076e795ed853b0536605d3bb205587d78 (diff) | |
QRMA: hook inserted objects up to auto-connect
Auto-connecting properties is enabled in models where all item data is
backed by the same QObject subclass. When assigning a new row, an entire
branch of rows in a tree, or assigning a fresh range as the children of
a row, then the new items need to be connected.
Some of these items might be nullptr, in which case we have so far
stopped the connection loop early (by returning false from the helpers).
Fix that to only stop early if a connection failed (i.e. if role names
and properties in the objects are not aligned), but continue if we
encounter a nullptr entry in the item data.
Change-Id: I2c4b5e5beedc7b38c40ee459c2e0437568b9b087
Reviewed-by: Artem Dyomin <[email protected]>
Diffstat (limited to 'src/tools/tracepointgen/tracepointgen.h')
0 files changed, 0 insertions, 0 deletions
