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:
parent
b9579de2b5
commit
1adc808664
1 changed files with 1 additions and 1 deletions
|
@ -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"));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue