mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 10:48:11 +00:00
GFilePicker: Make the path selected accessible externally
This commit is contained in:
parent
176f683f66
commit
23c90da26c
2 changed files with 5 additions and 2 deletions
|
@ -8,7 +8,8 @@ public:
|
|||
GFilePicker(const String& path = "/", CObject* parent = nullptr);
|
||||
virtual ~GFilePicker() override;
|
||||
|
||||
String selected_file() const;
|
||||
// TODO: Should this return a FileSystemPath instead?
|
||||
String selected_file() const { return m_selected_file; }
|
||||
|
||||
virtual const char* class_name() const override { return "GFilePicker"; }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue