Skip to content

Commit

Permalink
SystemMenu: Sort applications alphabetically
Browse files Browse the repository at this point in the history
  • Loading branch information
xTibor authored and awesomekling committed Mar 29, 2020
1 parent f95a119 commit 70dc80f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Applications/SystemMenu/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 70dc80f

Please sign in to comment.