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

--- Comment #14 from Fushan Wen <qydwhotm...@gmail.com> ---
Git commit bb17444cbab7d76b18c9c4bf2294d3e87426fc6b by Fushan Wen.
Committed on 15/08/2023 at 16:16.
Pushed by fusionfuture into branch 'Plasma/5.27'.

wallpapers/image: fix potential invalid slide index in `nextSlide`

If the last wallpaper is deleted before `nextSlide` is called, the next
time `nextSlide` is called, m_currentSlide is always increased by 1,
which is an invalid index, causing the slideshow always stuck at the
last wallpaper.


(cherry picked from commit e69e0a936c2a6ae6790e5ff8ddffdf7f0539a97b)

M  +1    -1    wallpapers/image/plugin/imagebackend.cpp

https://invent.kde.org/plasma/plasma-workspace/-/commit/bb17444cbab7d76b18c9c4bf2294d3e87426fc6b

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

Reply via email to