diff --git a/Libraries/LibDesktop/Launcher.cpp b/Libraries/LibDesktop/Launcher.cpp index 92dd92c6fb..e2abbf0445 100644 --- a/Libraries/LibDesktop/Launcher.cpp +++ b/Libraries/LibDesktop/Launcher.cpp @@ -51,11 +51,6 @@ auto Launcher::Details::from_details_str(const String& details_str) -> NonnullRe else if (type_str == "userdefault") details->launcher_type = LauncherType::UserDefault; } - if (auto icons_value = obj.get_ptr("icons")) { - icons_value->as_object().for_each_member([&](auto& name, auto& value) { - details->icons.set(name, value.to_string()); - }); - } return details; } diff --git a/Libraries/LibDesktop/Launcher.h b/Libraries/LibDesktop/Launcher.h index 40189abf41..73a23a98f7 100644 --- a/Libraries/LibDesktop/Launcher.h +++ b/Libraries/LibDesktop/Launcher.h @@ -44,10 +44,8 @@ public: }; struct Details : public RefCounted
{ - String name; String executable; - HashMap icons; LauncherType launcher_type { LauncherType::Default }; static NonnullRefPtr
from_details_str(const String&);