summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAstraeus- <Astraeus-@users.noreply.github.com>2021-12-18 12:17:26 +0100
committerAndreas Kling <kling@serenityos.org>2021-12-18 23:36:59 +0100
commit4db2f5b4ae22ab93831b8f037316fee88bd98c2b (patch)
treeb2d2d84c2b373047bc82ce4592f4f106c64bd90f
parentb02da2442f46ac4c70224ddb142d3e4014909712 (diff)
downloadserenity-4db2f5b4ae22ab93831b8f037316fee88bd98c2b.zip
Eyes: Convert to try_create_default_icon
-rw-r--r--Userland/Demos/Eyes/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Demos/Eyes/main.cpp b/Userland/Demos/Eyes/main.cpp
index 9468f75713..21a91d65b1 100644
--- a/Userland/Demos/Eyes/main.cpp
+++ b/Userland/Demos/Eyes/main.cpp
@@ -56,7 +56,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
extra_columns = num_eyes % max_in_row;
}
- auto app_icon = GUI::Icon::default_icon("app-eyes");
+ auto app_icon = TRY(GUI::Icon::try_create_default_icon("app-eyes"));
auto window = TRY(GUI::Window::try_create());
window->set_title("Eyes");