LibGUI: Show the special home directory icon in GUI::FilePicker

This commit is contained in:
Andreas Kling 2020-07-19 21:42:00 +02:00
commit 76523a3d2d
Notes: sideshowbarker 2024-07-19 04:42:30 +09:00
2 changed files with 28 additions and 15 deletions

View file

@ -67,6 +67,8 @@ private:
void clear_preview();
void on_file_return();
void set_path(const String&);
virtual void on_model_update(unsigned) override;
FilePicker(Window* parent_window, Mode type = Mode::Open, Options = Options::None, const StringView& file_name = "Untitled", const StringView& path = Core::StandardPaths::home_directory());