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
Notes: sideshowbarker 2024-07-19 17:39:03 +09:00
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