https://bugs.kde.org/show_bug.cgi?id=473587

Johannes Zarl-Zierl <johan...@zarl-zierl.at> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |https://invent.kde.org/grap
                   |                            |hics/kphotoalbum/-/commit/2
                   |                            |5224891c2ae3cadccc1ad4b0038
                   |                            |ca99d9ae9438
         Resolution|---                         |FIXED
             Status|CONFIRMED                   |RESOLVED

--- Comment #2 from Johannes Zarl-Zierl <johan...@zarl-zierl.at> ---
Git commit 25224891c2ae3cadccc1ad4b0038ca99d9ae9438 by Johannes Zarl-Zierl.
Committed on 21/08/2023 at 22:35.
Pushed by johanneszarl into branch 'master'.

Fix crash when the viewer gets a decoded pixmap while no image is set.

When viewing both images and videos, the situation might arise when the
ImageDisplay has not yet been set to an image after a transition from a
video to an image, yet the pixmapLoaded slot receives an image for the
previous video file.
For images, this is not an issue, because there's already a valid image
set (and it is checked whether the filename matches that of the received
pixmap).

M  +3    -2    Viewer/AbstractDisplay.h
M  +15   -3    Viewer/ImageDisplay.cpp
M  +5    -4    Viewer/QtAVDisplay.cpp

https://invent.kde.org/graphics/kphotoalbum/-/commit/25224891c2ae3cadccc1ad4b0038ca99d9ae9438

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to