diff options
Diffstat (limited to 'Libraries/LibGUI/MessageBox.h')
-rw-r--r-- | Libraries/LibGUI/MessageBox.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Libraries/LibGUI/MessageBox.h b/Libraries/LibGUI/MessageBox.h index 243b3469e8..dcd4c64d3c 100644 --- a/Libraries/LibGUI/MessageBox.h +++ b/Libraries/LibGUI/MessageBox.h @@ -50,11 +50,11 @@ public: virtual ~MessageBox() override; - static int show(const StringView& text, const StringView& title, Type type = Type::None, InputType = InputType::OK, Window* parent_window = nullptr); - static int show_error(const StringView& text, Window* parent_window = nullptr); + static int show(Window* parent_window, const StringView& text, const StringView& title, Type type = Type::None, InputType input_type = InputType::OK); + static int show_error(Window* parent_window, const StringView& text); private: - explicit MessageBox(const StringView& text, const StringView& title, Type type = Type::None, InputType = InputType::OK, Window* parent_window = nullptr); + explicit MessageBox(Window* parent_window, const StringView& text, const StringView& title, Type type = Type::None, InputType input_type = InputType::OK); bool should_include_ok_button() const; bool should_include_cancel_button() const; |