summaryrefslogtreecommitdiff
path: root/Libraries/LibGUI/MessageBox.h
diff options
context:
space:
mode:
Diffstat (limited to 'Libraries/LibGUI/MessageBox.h')
-rw-r--r--Libraries/LibGUI/MessageBox.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Libraries/LibGUI/MessageBox.h b/Libraries/LibGUI/MessageBox.h
index 0d7ea6f96e..e4abdab96d 100644
--- a/Libraries/LibGUI/MessageBox.h
+++ b/Libraries/LibGUI/MessageBox.h
@@ -50,6 +50,7 @@ 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);
private:
explicit MessageBox(const StringView& text, const StringView& title, Type type = Type::None, InputType = InputType::OK, Window* parent_window = nullptr);