mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 14:07:46 +00:00
FileManager: Graceful handling of access errors
A neat error message is displayed when failing to open a directory!
This commit is contained in:
parent
451b3fa73c
commit
cc424b7b0f
3 changed files with 27 additions and 3 deletions
|
@ -55,6 +55,7 @@ public:
|
|||
Function<void(const GUI::AbstractView&, const GUI::ModelIndex&, const GUI::DropEvent&)> on_drop;
|
||||
Function<void(const StringView&)> on_status_message;
|
||||
Function<void(int done, int total)> on_thumbnail_progress;
|
||||
Function<void(int error, const char* error_string, bool quit)> on_error;
|
||||
|
||||
enum ViewMode {
|
||||
Invalid,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue