mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 13:28:11 +00:00
WindowServer: Fix AppletManager build
This commit is contained in:
parent
c45e16f605
commit
c5730ed6a3
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ void AppletManager::add_applet(Window& applet)
|
|||
quick_sort(m_applets, [](auto& a, auto& b) {
|
||||
auto index_a = order_vector.find_first_index(a->title());
|
||||
auto index_b = order_vector.find_first_index(b->title());
|
||||
return index_a.value_or("") > index_b.value_or("");
|
||||
return index_a.value_or(0) > index_b.value_or(0);
|
||||
});
|
||||
|
||||
calculate_applet_rects(MenuManager::the().window());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue