mirror of
https://github.com/SerenityOS/serenity
synced 2024-09-06 08:56:40 +00:00
SystemMenu: Sort applications alphabetically
This commit is contained in:
parent
f95a119627
commit
70dc80fa47
|
@ -119,6 +119,7 @@ NonnullRefPtr<GUI::Menu> build_system_menu()
|
|||
g_apps.append({ app_executable, app_name, app_icon_path, app_category });
|
||||
seen_app_categories.set(app_category);
|
||||
}
|
||||
quick_sort(g_apps, [](auto& a, auto& b) { return a.name < b.name; });
|
||||
}
|
||||
|
||||
Vector<String> sorted_app_categories;
|
||||
|
|
Loading…
Reference in a new issue