summaryrefslogtreecommitdiff
path: root/Userland/Applications/DisplaySettings
diff options
context:
space:
mode:
authorBen Wiederhake <BenWiederhake.GitHub@gmx.de>2021-11-01 23:39:10 +0100
committerAndreas Kling <kling@serenityos.org>2021-11-02 11:07:26 +0100
commit59619572d6877f703157648ae37a41fa23d4b77d (patch)
tree19b22f29c19881acba14f29e569b2051d5293dfd /Userland/Applications/DisplaySettings
parent17d95bc1db049d56d55c961566ca7ca76395346c (diff)
downloadserenity-59619572d6877f703157648ae37a41fa23d4b77d.zip
LibThreading: Remove redundant method
Diffstat (limited to 'Userland/Applications/DisplaySettings')
-rw-r--r--Userland/Applications/DisplaySettings/MonitorWidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Applications/DisplaySettings/MonitorWidget.cpp b/Userland/Applications/DisplaySettings/MonitorWidget.cpp
index 5a853ccf79..858a82df75 100644
--- a/Userland/Applications/DisplaySettings/MonitorWidget.cpp
+++ b/Userland/Applications/DisplaySettings/MonitorWidget.cpp
@@ -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())