diff options
Diffstat (limited to 'Userland/Applications/FileManager/DirectoryView.cpp')
-rw-r--r-- | Userland/Applications/FileManager/DirectoryView.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Applications/FileManager/DirectoryView.cpp b/Userland/Applications/FileManager/DirectoryView.cpp index 1336abbb1a..6e66ee9b4e 100644 --- a/Userland/Applications/FileManager/DirectoryView.cpp +++ b/Userland/Applications/FileManager/DirectoryView.cpp @@ -118,7 +118,7 @@ NonnullRefPtrVector<LauncherHandler> DirectoryView::get_launch_handlers(const UR { NonnullRefPtrVector<LauncherHandler> handlers; for (auto& h : Desktop::Launcher::get_handlers_with_details_for_url(url)) { - handlers.append(adopt(*new LauncherHandler(h))); + handlers.append(adopt_ref(*new LauncherHandler(h))); } return handlers; } |