mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 05:07:34 +00:00
Inspector: Convert to try_create_default_icon
This commit is contained in:
parent
d12359ff20
commit
64a5f990b1
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
|
|||
pid_t pid;
|
||||
|
||||
auto app = TRY(GUI::Application::try_create(arguments));
|
||||
auto app_icon = GUI::Icon::default_icon("app-inspector");
|
||||
auto app_icon = TRY(GUI::Icon::try_create_default_icon("app-inspector"));
|
||||
if (gui_mode) {
|
||||
choose_pid:
|
||||
auto process_chooser = TRY(GUI::ProcessChooser::try_create("Inspector", "Inspect", app_icon.bitmap_for_size(16)));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue