1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 23:17:45 +00:00

Mouse: Convert to try_create_default_icon

This commit is contained in:
Astraeus- 2021-12-18 12:21:13 +01:00 committed by Andreas Kling
parent b9579de2b5
commit 1adc808664

View file

@ -160,7 +160,7 @@ private:
ErrorOr<int> serenity_main(Main::Arguments arguments)
{
auto app = TRY(GUI::Application::try_create(arguments));
auto app_icon = GUI::Icon::default_icon("app-mouse");
auto app_icon = TRY(GUI::Icon::try_create_default_icon("app-mouse"));
TRY(Core::System::pledge("stdio recvfd sendfd rpath"));
TRY(Core::System::unveil("/res", "r"));