1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 07:57:46 +00:00

FileManager: Make DirectoryView API's take String instead of StringView

This commit is contained in:
Andreas Kling 2021-04-17 00:46:13 +02:00
parent 1f684c8123
commit 0528dc9b87
2 changed files with 5 additions and 5 deletions

View file

@ -67,7 +67,7 @@ public:
virtual ~DirectoryView() override;
void open(const StringView& path);
void open(String const& path);
String path() const { return model().root_path(); }
void open_parent_directory();
void open_previous_directory();
@ -173,7 +173,7 @@ private:
NonnullRefPtr<GUI::SortingProxyModel> m_sorting_model;
size_t m_path_history_position { 0 };
Vector<String> m_path_history;
void add_path_to_history(const StringView& path);
void add_path_to_history(String);
RefPtr<GUI::Label> m_error_label;