mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-23 08:00:20 +00:00
FileManager: Exit the application cleanly when failing to open initial directory
Co-Authored-By: Andreas Kling <kling@serenityos.org>
This commit is contained in:
parent
cc424b7b0f
commit
0d47ad7efe
Notes:
sideshowbarker
2024-07-19 17:34:55 +09:00
Author: https://github.com/anpep Commit: https://github.com/SerenityOS/serenity/commit/0d47ad7efea Pull-request: https://github.com/SerenityOS/serenity/pull/1907 Reviewed-by: https://github.com/alimpfard Reviewed-by: https://github.com/awesomekling
1 changed files with 1 additions and 1 deletions
|
@ -593,7 +593,7 @@ int run_in_windowed_mode(RefPtr<Core::ConfigFile> config, String initial_locatio
|
|||
GUI::MessageBox::show(error_message, "File Manager", GUI::MessageBox::Type::Error);
|
||||
|
||||
if (quit)
|
||||
exit(1);
|
||||
app.quit(1);
|
||||
};
|
||||
|
||||
directory_view.on_status_message = [&](const StringView& message) {
|
||||
|
|
Loading…
Reference in a new issue