1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 16:27:35 +00:00

SystemDialog+Base: Add icon for SystemDialog

This commit is contained in:
thatlittlegit 2020-02-22 22:02:17 -05:00 committed by Andreas Kling
parent ba6a290f4f
commit 9784ab99d2
2 changed files with 1 additions and 0 deletions

View file

@ -118,6 +118,7 @@ int main(int argc, char** argv)
dialog->set_rect(rect);
dialog->set_resizable(false);
dialog->set_title("SerenityOS");
dialog->set_icon(Gfx::Bitmap::load_from_file("/res/icons/16x16/app-systemdialog.png"));
auto main = GUI::Widget::construct();
dialog->set_main_widget(main);

Binary file not shown.

After

Width:  |  Height:  |  Size: 180 B