Skip to content

Fix deletion order also for QImageReader/Writer::setDevice()

Avoid dangling or incorrect device pointer during handler destruction. This was recently fixed in the destructors, fixed here also for the setDevice() functions.

Pick-to: 6.5 6.4 6.2 5.15 Change-Id: I85b64726cd88d2c8e63eee59d5b4f2ae488df61b Reviewed-by: Paul Olav Tvete (cherry picked from commit 5633cb69)

Merge request reports