mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 15:57:35 +00:00
FileManager: Make DirectoryView API's take String instead of StringView
This commit is contained in:
parent
1f684c8123
commit
0528dc9b87
2 changed files with 5 additions and 5 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue