summaryrefslogtreecommitdiffstats
path: root/src/gui/opengl/qopenglfunctions.cpp
diff options
context:
space:
mode:
authorVolker Hilsheimer <[email protected]>2025-12-06 11:24:40 +0100
committerVolker Hilsheimer <[email protected]>2025-12-10 15:10:14 +0100
commit8400a9ea113fd6e5bf97480d48e5e1e72b48ba60 (patch)
tree099bcb4ccae73c5c83ce800fb88f7ebc27a51862 /src/gui/opengl/qopenglfunctions.cpp
parent2898f6f7e4064fb48057cbe7f012e7da850ee3bc (diff)
QRMA: clean up memory in test case
The model doesn't take ownership of the item objects, so we have to delete them when the row items get destroyed. As usual, tree items that are not move-only are a mess, so make them move only, and implement move-semantics to explicitly clear the moved-from row's array (as moving from a std::array doesn't clear the source). Adapt the test case accordingly. Pick-to: 6.11 Change-Id: I4722be0bbe3846f7e274583d19b75beb502b7095 Reviewed-by: Artem Dyomin <[email protected]>
Diffstat (limited to 'src/gui/opengl/qopenglfunctions.cpp')
0 files changed, 0 insertions, 0 deletions