Skip to content

wallpapers/image: reduce preview cache insertion for single images

Fushan Wen requested to merge work/fuf/image/less-loading into master

This reduces one cache insertion operation for single images without dark variants by inserting a new QPixmap only when the pending list is empty (it->empty()), which should slightly reduce the time to generate previews.

Merge request reports

Loading