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

--- Comment #18 from Fushan Wen <qydwhotm...@gmail.com> ---
Git commit 0f91327c650991f71803276f992981244329ab43 by Fushan Wen.
Committed on 07/09/2023 at 04:50.
Pushed by fusionfuture into branch 'master'.

wallpapers/image: lazy load image model and slide model

1. Make sure the image model and the slide model are only created
   when necessary, so the slide model will not consume resource when the
   image plugin is used, and vice versa.
2. When used in a config dialog, the model is created only after the
   component is completely created, which means all bindings are properly
   set. This avoids some unnecessary work.

M  +67   -32   wallpapers/image/plugin/imagebackend.cpp
M  +9    -6    wallpapers/image/plugin/imagebackend.h

https://invent.kde.org/plasma/plasma-workspace/-/commit/0f91327c650991f71803276f992981244329ab43

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

Reply via email to