mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-26 09:30:24 +00:00
Minesweeper: Convert to try_create_default_icon
This commit is contained in:
parent
421f91e4ca
commit
c1820770bb
Notes:
sideshowbarker
2024-07-17 22:37:52 +09:00
Author: https://github.com/Astraeus- Commit: https://github.com/SerenityOS/serenity/commit/c1820770bbe Pull-request: https://github.com/SerenityOS/serenity/pull/11293
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
|
|||
TRY(Core::System::unveil("/res", "r"));
|
||||
TRY(Core::System::unveil(nullptr, nullptr));
|
||||
|
||||
auto app_icon = GUI::Icon::default_icon("app-minesweeper");
|
||||
auto app_icon = TRY(GUI::Icon::try_create_default_icon("app-minesweeper"));
|
||||
|
||||
auto window = TRY(GUI::Window::try_create());
|
||||
window->set_resizable(false);
|
||||
|
|
Loading…
Reference in a new issue