summaryrefslogtreecommitdiff
path: root/Libraries/LibGUI/FilePicker.h
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-07-19 21:42:00 +0200
committerAndreas Kling <kling@serenityos.org>2020-07-19 21:42:00 +0200
commit76523a3d2d5c3f5af019017b1a089d65da7e6c97 (patch)
treed64b9b56fbd971345fe9941748d52450fc8837af /Libraries/LibGUI/FilePicker.h
parentf286eb7fcdf8fab0ff1f5859d1cf609b40e396c2 (diff)
downloadserenity-76523a3d2d5c3f5af019017b1a089d65da7e6c97.zip
LibGUI: Show the special home directory icon in GUI::FilePicker
Diffstat (limited to 'Libraries/LibGUI/FilePicker.h')
-rw-r--r--Libraries/LibGUI/FilePicker.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Libraries/LibGUI/FilePicker.h b/Libraries/LibGUI/FilePicker.h
index a681ef3c83..11956bf7eb 100644
--- a/Libraries/LibGUI/FilePicker.h
+++ b/Libraries/LibGUI/FilePicker.h
@@ -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());