mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-23 18:02:05 -05:00
SystemMenu: Sort applications alphabetically
This commit is contained in:
parent
f95a119627
commit
70dc80fa47
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue