diff options
author | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2022-03-18 15:03:40 +0100 |
---|---|---|
committer | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2022-03-18 21:56:19 +0100 |
commit | 6492a9c8778040b5f2f8acf36c8140065099c7fb (patch) | |
tree | 1390a11f8f7ee2eaf45a4f05018d8e752fcf5d69 /tests/auto/widgets/kernel | |
parent | 5e566ab373bd6161f82b00c5a1f24bd210051140 (diff) |
Refactor: use lambdas for visitor pattern in QGraphicsSceneBspTree
This way, the visitor implementations are directly where they are used,
without the need for a virtual function call. The allocation of the
visitors on the heap was anyway overkill (they could just have been
allocated on the stack where they were used).
Change-Id: Ic41fd285e3a45daaf2e17aa5aeee07e754127a00
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
Diffstat (limited to 'tests/auto/widgets/kernel')
0 files changed, 0 insertions, 0 deletions