From d61ea0da5f72be0cd2a3487752ec91eb70030939 Mon Sep 17 00:00:00 2001 From: Linus Groh Date: Sat, 29 Aug 2020 19:22:01 +0200 Subject: [PATCH] HelloWorld: Set window icon to app-hello-world.png --- Demos/HelloWorld/main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Demos/HelloWorld/main.cpp b/Demos/HelloWorld/main.cpp index a5510e7ac6..34fe2be132 100644 --- a/Demos/HelloWorld/main.cpp +++ b/Demos/HelloWorld/main.cpp @@ -38,6 +38,7 @@ int main(int argc, char** argv) auto window = GUI::Window::construct(); window->resize(240, 160); window->set_title("Hello World!"); + window->set_icon(Gfx::Bitmap::load_from_file("/res/icons/16x16/app-hello-world.png")); auto& main_widget = window->set_main_widget(); main_widget.set_fill_with_background_color(true);