diff options
author | Astraeus- <Astraeus-@users.noreply.github.com> | 2021-12-18 12:21:13 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-12-18 23:36:59 +0100 |
commit | 1adc808664c531ac36bf2fc5ff3c4751b3ac5914 (patch) | |
tree | e0ebaf14e4e8c97b493878ee86836b80f765a922 /Userland/Demos/Mouse/main.cpp | |
parent | b9579de2b58c9eeb9859151307d3b1a40a42eae5 (diff) | |
download | serenity-1adc808664c531ac36bf2fc5ff3c4751b3ac5914.zip |
Mouse: Convert to try_create_default_icon
Diffstat (limited to 'Userland/Demos/Mouse/main.cpp')
-rw-r--r-- | Userland/Demos/Mouse/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Demos/Mouse/main.cpp b/Userland/Demos/Mouse/main.cpp index a34c16181a..87d1e68761 100644 --- a/Userland/Demos/Mouse/main.cpp +++ b/Userland/Demos/Mouse/main.cpp @@ -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")); |