diff options
| author | Richard Moe Gustavsen <richard.gustavsen@qt.io> | 2025-12-15 10:51:07 +0100 |
|---|---|---|
| committer | Richard Moe Gustavsen <richard.gustavsen@qt.io> | 2025-12-15 16:40:56 +0100 |
| commit | c755209ce457db55e65066c5ca15cfa888e2dcf6 (patch) | |
| tree | c2268c4f043bd263eaa305cda5a1250e8018781e /util | |
| parent | f0aaf5c9b7fc53bec9c2a96be233f25d5cb0d68b (diff) | |
QQStyleKitDebug previously printed property paths under
the assumption that nested property groups followed the
same parent–child hierarchy as they are written in the style.
After a recent optimization in QQStyleKitPropertyGroup, this
assumption is no longer valid.
As part of that optimization, all property groups now have
the root QQStyleKitControlProperties as their parent in order
to avoid unnecessary hierarchy traversals. This change broke
the logic used to reconstruct property paths for debugging.
This patch introduces QQStyleKitPropertyGroup::pathToString(),
which reconstructs a property path in the same order as it is
written in the style. While this functionality may also enable
future optimizations, it is currently used to restore correct
and readable debug output.
Task-number: QTBUG-130067
Pick-to: 6.11
Change-Id: I60e0aac3320c703b5b0995daa5a68a8ea1f015c5
Reviewed-by: Doris Verria <doris.verria@qt.io>
Diffstat (limited to 'util')
0 files changed, 0 insertions, 0 deletions
