From 030d0f9937e8168b0df3e1f8adcccf0f0d2915a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=BCseyin=20ASLIT=C3=9CRK?= Date: Sun, 14 Jun 2020 11:06:55 +0300 Subject: [PATCH] MessageBox: Replace Label with Image component to show icons --- Libraries/LibGUI/MessageBox.cpp | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/Libraries/LibGUI/MessageBox.cpp b/Libraries/LibGUI/MessageBox.cpp index 12a9b8e5c3..e9097ce5df 100644 --- a/Libraries/LibGUI/MessageBox.cpp +++ b/Libraries/LibGUI/MessageBox.cpp @@ -27,6 +27,7 @@ #include #include #include +#include #include #include #include @@ -117,11 +118,8 @@ void MessageBox::build() message_container.layout()->set_spacing(8); if (m_type != Type::None) { - auto& icon_label = message_container.add