LibThreading: Remove redundant method

This commit is contained in:
Ben Wiederhake 2021-11-01 23:39:10 +01:00 committed by Andreas Kling
commit 59619572d6
Notes: sideshowbarker 2024-07-18 01:37:37 +09:00
6 changed files with 6 additions and 13 deletions

View file

@ -652,7 +652,7 @@ bool FileSystemModel::fetch_thumbnail_for(Node const& node)
auto weak_this = make_weak_ptr();
Threading::BackgroundAction<RefPtr<Gfx::Bitmap>>::create(
Threading::BackgroundAction<RefPtr<Gfx::Bitmap>>::construct(
[path](auto&) {
return render_thumbnail(path);
},