summaryrefslogtreecommitdiff
path: root/Userland/Applications/Spreadsheet
diff options
context:
space:
mode:
authorAndrew January <ajanuary@evertz.com>2021-08-17 13:02:29 +0100
committerAndreas Kling <kling@serenityos.org>2021-08-20 15:31:22 +0200
commit1474a537b630ef1b6b638164bca9043f0622d617 (patch)
treeaa2a516275dc341e33c424c7a2f1a10219d554ac /Userland/Applications/Spreadsheet
parentac055554f6b353c185d24df1a21dc4920abc05bf (diff)
downloadserenity-1474a537b630ef1b6b638164bca9043f0622d617.zip
DisplaySettings: Lazily load wallpapers
Load the wallpaper in a background action instead of on the main thread. This reduces the time to first paint, and makes the UI feel more responsive when clicking on wallpaper thumbnails. The behavior of the method is changed slightly to return true if it succesfully "loads" the empty path. This makes the API a little more consistent, where "true" means "I made changes" and "false" means "I did not make changes". No call sites currently use the return value, so no changes are needed to those.
Diffstat (limited to 'Userland/Applications/Spreadsheet')
0 files changed, 0 insertions, 0 deletions