diff options
Diffstat (limited to 'Userland/Applications/FileManager/DirectoryView.h')
-rw-r--r-- | Userland/Applications/FileManager/DirectoryView.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Userland/Applications/FileManager/DirectoryView.h b/Userland/Applications/FileManager/DirectoryView.h index eb972167f2..1ac3b7417b 100644 --- a/Userland/Applications/FileManager/DirectoryView.h +++ b/Userland/Applications/FileManager/DirectoryView.h @@ -74,12 +74,12 @@ public: int path_history_size() const { return m_path_history.size(); } int path_history_position() const { return m_path_history_position; } static RefPtr<LauncherHandler> get_default_launch_handler(const NonnullRefPtrVector<LauncherHandler>& handlers); - NonnullRefPtrVector<LauncherHandler> get_launch_handlers(const URL& url); - NonnullRefPtrVector<LauncherHandler> get_launch_handlers(const String& path); + static NonnullRefPtrVector<LauncherHandler> get_launch_handlers(const URL& url); + static NonnullRefPtrVector<LauncherHandler> get_launch_handlers(const String& path); void refresh(); - void launch(const URL&, const LauncherHandler&); + void launch(const URL&, const LauncherHandler&) const; Function<void(const StringView& path, bool can_write_in_path)> on_path_change; Function<void(GUI::AbstractView&)> on_selection_change; |