diff options
author | Eirik Aavitsland <eirik.aavitsland@qt.io> | 2018-12-17 11:12:50 +0100 |
---|---|---|
committer | Eirik Aavitsland <eirik.aavitsland@qt.io> | 2019-07-10 12:43:23 +0200 |
commit | 2d597c0e1a32dda3f4d2f1c941b8a0d2a4be4735 (patch) | |
tree | e2b39f01b68e0ce92d83420a1aeeb2974936fcaf /dist/changes-2.0.1 | |
parent | 89aa6e780a28b2c6dc9f57d14afd2c49b743f472 (diff) |
QPixmapCache: guard against usage from non-main threads
Depending on the active QPA plugin, QPixmaps may now be created and
used also in non-main threads. But QPixmapCache is not designed to be
used from such threads, so add guards to ignore such access attempts,
both from application code and from Qt library code.
Such unsafe access would often cause a cryptical "~QObject: Timers
cannot be stopped from another thread" warning; that also disappears
with this fix.
[ChangeLog][QtGui][QPixmapCache] Ignore unsafe access from non-main
threads
Task-number: QTBUG-76694
Task-number: QTBUG-72523
Change-Id: Ia2db37e528aec08bfb48808630bdf5e543689039
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'dist/changes-2.0.1')
0 files changed, 0 insertions, 0 deletions