diff options
author | Andreas Kling <kling@serenityos.org> | 2020-05-28 11:45:01 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-05-28 11:45:01 +0200 |
commit | 49f3323fa84a122612ad7ce5a8189b6131023fd0 (patch) | |
tree | 788a2f5708b7c8145381ab4a5cd40e251dc72c3c /Libraries/LibGUI | |
parent | 5c35f3c9badef4d323a1539a146659df3e799758 (diff) | |
download | serenity-49f3323fa84a122612ad7ce5a8189b6131023fd0.zip |
LibGUI: Don't show big Buggie in app about dialogs
It was getting to crowded between two Buggies and the app icon.
Diffstat (limited to 'Libraries/LibGUI')
-rw-r--r-- | Libraries/LibGUI/AboutDialog.cpp | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/Libraries/LibGUI/AboutDialog.cpp b/Libraries/LibGUI/AboutDialog.cpp index aad6b05cc0..c9897cf1cf 100644 --- a/Libraries/LibGUI/AboutDialog.cpp +++ b/Libraries/LibGUI/AboutDialog.cpp @@ -79,11 +79,13 @@ AboutDialog::AboutDialog(const StringView& name, const Gfx::Bitmap* icon, Window icon_label.set_preferred_size(32, 32); } - auto& buggie_label = left_container.add<Label>(); - buggie_label.set_icon(Gfx::Bitmap::load_from_file("/res/icons/buggie-about.png")); - buggie_label.set_size_policy(SizePolicy::Fixed, SizePolicy::Fixed); - buggie_label.set_preferred_size(48, 104); - buggie_label.set_tooltip("Buggie!"); + if (m_name == "SerenityOS") { + auto& buggie_label = left_container.add<Label>(); + buggie_label.set_icon(Gfx::Bitmap::load_from_file("/res/icons/buggie-about.png")); + buggie_label.set_size_policy(SizePolicy::Fixed, SizePolicy::Fixed); + buggie_label.set_preferred_size(48, 104); + buggie_label.set_tooltip("Buggie!"); + } auto& right_container = content_container.add<Widget>(); right_container.set_layout<VerticalBoxLayout>(); |