mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-17 23:12:22 +00:00
Hearts: Convert to try_create_default_icon
This commit is contained in:
parent
88ce05317f
commit
421f91e4ca
Notes:
sideshowbarker
2024-07-17 22:37:56 +09:00
Author: https://github.com/Astraeus-
Commit: 421f91e4ca
Pull-request: https://github.com/SerenityOS/serenity/pull/11293
1 changed files with 1 additions and 1 deletions
|
@ -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");
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue