summaryrefslogtreecommitdiff
path: root/Userland/DevTools
diff options
context:
space:
mode:
authorAstraeus- <Astraeus-@users.noreply.github.com>2021-12-18 12:23:57 +0100
committerAndreas Kling <kling@serenityos.org>2021-12-18 23:36:59 +0100
commit64a5f990b14d0399c07ff261e0958db939912a28 (patch)
tree14e8d7ab5c92a0ba3eaf263faa2a1af27c1a5e98 /Userland/DevTools
parentd12359ff206a269f3d3ca7d14f218ada14d43329 (diff)
downloadserenity-64a5f990b14d0399c07ff261e0958db939912a28.zip
Inspector: Convert to try_create_default_icon
Diffstat (limited to 'Userland/DevTools')
-rw-r--r--Userland/DevTools/Inspector/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/DevTools/Inspector/main.cpp b/Userland/DevTools/Inspector/main.cpp
index bb40d91e5e..805bd77105 100644
--- a/Userland/DevTools/Inspector/main.cpp
+++ b/Userland/DevTools/Inspector/main.cpp
@@ -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)));