mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 18:37:35 +00:00
ClipboardHistory: Convert to try_create_default_icon
This commit is contained in:
parent
3ca72831d1
commit
3e4e055c76
1 changed files with 1 additions and 1 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue