diff --git a/Userland/Libraries/LibGUI/MessageBox.cpp b/Userland/Libraries/LibGUI/MessageBox.cpp index cfb967a06a..9f395762b9 100644 --- a/Userland/Libraries/LibGUI/MessageBox.cpp +++ b/Userland/Libraries/LibGUI/MessageBox.cpp @@ -27,15 +27,22 @@ int MessageBox::show_error(Window* parent_window, StringView text) return show(parent_window, text, "Error", GUI::MessageBox::Type::Error, GUI::MessageBox::InputType::OK); } -int MessageBox::ask_about_unsaved_changes(Window* parent_window, StringView path) +int MessageBox::ask_about_unsaved_changes(Window* parent_window, StringView path, Optional