1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 05:37:34 +00:00

Hearts: Convert to try_create_default_icon

This commit is contained in:
Astraeus- 2021-12-18 11:52:14 +01:00 committed by Andreas Kling
parent 88ce05317f
commit 421f91e4ca

View file

@ -27,7 +27,7 @@
ErrorOr<int> serenity_main(Main::Arguments arguments) ErrorOr<int> serenity_main(Main::Arguments arguments)
{ {
auto app = TRY(GUI::Application::try_create(arguments)); auto app = TRY(GUI::Application::try_create(arguments));
auto app_icon = GUI::Icon::default_icon("app-hearts"); auto app_icon = TRY(GUI::Icon::try_create_default_icon("app-hearts"));
Config::pledge_domains("Hearts"); Config::pledge_domains("Hearts");