1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-16 08:44:58 +00:00

GFilePicker: Allow overriding the window title for get_open_filepath()

This commit is contained in:
Andreas Kling 2019-10-26 21:42:34 +02:00
parent 9129dbe0b9
commit 4089690cf1
2 changed files with 5 additions and 2 deletions

View file

@ -16,7 +16,7 @@ public:
Save
};
static Optional<String> get_open_filepath();
static Optional<String> get_open_filepath(const String& window_title = {});
static Optional<String> get_save_filepath(const String& title, const String& extension);
static bool file_exists(const StringView& path);