summaryrefslogtreecommitdiff
path: root/Userland/Applets/ClipboardHistory/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Applets/ClipboardHistory/main.cpp')
-rw-r--r--Userland/Applets/ClipboardHistory/main.cpp2
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");