mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-01 07:07:49 +00:00
ClipboardHistory: Convert to try_create_default_icon
This commit is contained in:
parent
3ca72831d1
commit
3e4e055c76
Notes:
sideshowbarker
2024-07-17 22:37:36 +09:00
Author: https://github.com/Astraeus-
Commit: 3e4e055c76
Pull-request: https://github.com/SerenityOS/serenity/pull/11293
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