1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 16:47:36 +00:00

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
parent f286eb7fcd
commit 76523a3d2d
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());