mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-12 11:09:18 +00:00
LibThreading: Remove redundant method
This commit is contained in:
parent
17d95bc1db
commit
59619572d6
Notes:
sideshowbarker
2024-07-18 01:37:37 +09:00
Author: https://github.com/BenWiederhake
Commit: 59619572d6
Pull-request: https://github.com/SerenityOS/serenity/pull/10754
6 changed files with 6 additions and 13 deletions
|
@ -30,7 +30,7 @@ bool MonitorWidget::set_wallpaper(String path)
|
|||
if (!is_different_to_current_wallpaper_path(path))
|
||||
return false;
|
||||
|
||||
Threading::BackgroundAction<RefPtr<Gfx::Bitmap>>::create(
|
||||
Threading::BackgroundAction<RefPtr<Gfx::Bitmap>>::construct(
|
||||
[path](auto&) {
|
||||
RefPtr<Gfx::Bitmap> bmp;
|
||||
if (!path.is_empty())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue