diff options
author | Tor Arne Vestbø <[email protected]> | 2025-06-02 23:56:36 +0200 |
---|---|---|
committer | Tor Arne Vestbø <[email protected]> | 2025-06-06 18:10:07 +0200 |
commit | 965b799c3faabdc7b89dc1b8e0495f38f4d3158f (patch) | |
tree | bfb7c4e8cb292bba3a204b0c253ed0aaa097ce94 /src/testlib/qabstracttestlogger_p.h | |
parent | a589ef5cff160701316b3eebf2139ea9b55b0de5 (diff) |
Initialize the shared QColormapPrivate on first call to
QColormap::instance, in a thread safe manner for good measure,
and clean it up on app exit if needed.
The cleanup now also accounts for the possibility of QColormap
instances outliving the cleanup. We still reset to a new QColormap
on next use, following the existing behavior.
Change-Id: Ia16a84994b3ee05f9431ba24dd9126f2dc271b61
Reviewed-by: Paul Olav Tvete <[email protected]>
Diffstat (limited to 'src/testlib/qabstracttestlogger_p.h')
0 files changed, 0 insertions, 0 deletions