Skip to content
Verified Commit 7164c1ac authored by Fushan Wen's avatar Fushan Wen
Browse files

wallpapers/image: reduce preview cache insertion for single images

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.
parent 8a4e7e21
Pipeline #242692 canceled with stage
in 4 minutes and 6 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment