diff --git a/Libraries/LibGUI/MessageBox.cpp b/Libraries/LibGUI/MessageBox.cpp index fbc7f0f45bd..12a9b8e5c3e 100644 --- a/Libraries/LibGUI/MessageBox.cpp +++ b/Libraries/LibGUI/MessageBox.cpp @@ -71,6 +71,8 @@ RefPtr MessageBox::icon() const return Gfx::Bitmap::load_from_file("/res/icons/32x32/msgbox-warning.png"); case Type::Error: return Gfx::Bitmap::load_from_file("/res/icons/32x32/msgbox-error.png"); + case Type::Question: + return Gfx::Bitmap::load_from_file("/res/icons/32x32/msgbox-question.png"); default: return nullptr; } diff --git a/Libraries/LibGUI/MessageBox.h b/Libraries/LibGUI/MessageBox.h index e4abdab96d9..243b3469e87 100644 --- a/Libraries/LibGUI/MessageBox.h +++ b/Libraries/LibGUI/MessageBox.h @@ -38,6 +38,7 @@ public: Information, Warning, Error, + Question }; enum class InputType {