diff options
author | Astraeus- <Astraeus-@users.noreply.github.com> | 2021-12-18 12:12:44 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-12-18 23:36:59 +0100 |
commit | 3e4e055c763de830bc742b878f48e27955ca57e4 (patch) | |
tree | ce3698ee2dd071a99e1b20a53a28d70251bf4885 /Userland | |
parent | 3ca72831d1327dc5bd184eb2313671d61e150b25 (diff) | |
download | serenity-3e4e055c763de830bc742b878f48e27955ca57e4.zip |
ClipboardHistory: Convert to try_create_default_icon
Diffstat (limited to 'Userland')
-rw-r--r-- | Userland/Applets/ClipboardHistory/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Applets/ClipboardHistory/main.cpp b/Userland/Applets/ClipboardHistory/main.cpp index 673f3b5467..265655175e 100644 --- a/Userland/Applets/ClipboardHistory/main.cpp +++ b/Userland/Applets/ClipboardHistory/main.cpp @@ -26,7 +26,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments) TRY(Core::System::pledge("stdio recvfd sendfd rpath")); TRY(Core::System::unveil("/res", "r")); TRY(Core::System::unveil(nullptr, nullptr)); - auto app_icon = GUI::Icon::default_icon("edit-copy"); + auto app_icon = TRY(GUI::Icon::try_create_default_icon("edit-copy")); auto main_window = TRY(GUI::Window::try_create()); main_window->set_title("Clipboard history"); |