diff options
| author | Christian Ehrlicher <ch.ehrlicher@gmx.de> | 2025-10-01 21:14:13 +0200 |
|---|---|---|
| committer | Christian Ehrlicher <ch.ehrlicher@gmx.de> | 2025-10-05 19:22:44 +0200 |
| commit | 659a100f483ce706c6ea60dc0db6331f7c2b694b (patch) | |
| tree | 3a826bd46f3d468f5da6e81f309536c033a89aff /src/corelib/kernel/qobject.cpp | |
| parent | b910addacd9fc5bd909ace5ae9cf1004d9488ec3 (diff) | |
QWidgetAnimator: make sure to remove all destroyed animations
Animations were only removed from the animation map when they were
finished but not when they were destroyed before. In this case the
QPointer was reset to a nullptr but might dereferenced later when a new
animation on the related widget was started. A change from raw pointer
to QPointer was added a long time ago to fix a spurious crash in
QDockWidget handling but this was not enough. Interestingly it was not
noticed for over 12 years...
This amends 33214af3784feacb2d5188bbf07da92f45f582f9
Pick-to: 6.10 6.8 6.5
Fixes: QTBUG-140207
Change-Id: I9f0d10bf7356d00cfba232ae2f3c3a7704b27cef
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
Diffstat (limited to 'src/corelib/kernel/qobject.cpp')
0 files changed, 0 insertions, 0 deletions
