mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-20 01:37:39 +03:00
Solitaire: Convert to try_create_default_icon
This commit is contained in:
parent
bb214dd7e8
commit
3ca72831d1
Notes:
sideshowbarker
2024-07-17 22:37:40 +09:00
Author: https://github.com/Astraeus- Commit: https://github.com/SerenityOS/serenity/commit/3ca72831d13 Pull-request: https://github.com/SerenityOS/serenity/pull/11293
@ -27,7 +27,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
|
|||||||
TRY(Core::System::pledge("stdio recvfd sendfd rpath unix"));
|
TRY(Core::System::pledge("stdio recvfd sendfd rpath unix"));
|
||||||
|
|
||||||
auto app = TRY(GUI::Application::try_create(arguments));
|
auto app = TRY(GUI::Application::try_create(arguments));
|
||||||
auto app_icon = GUI::Icon::default_icon("app-solitaire");
|
auto app_icon = TRY(GUI::Icon::try_create_default_icon("app-solitaire"));
|
||||||
|
|
||||||
Config::pledge_domains("Solitaire");
|
Config::pledge_domains("Solitaire");
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user