mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-21 18:00:16 +00:00
LibGUI+Userland: Port StatusBar::text() and set_text functions to String
This commit is contained in:
parent
2064f544c6
commit
2029750519
Notes:
sideshowbarker
2024-07-16 22:17:03 +09:00
Author: https://github.com/krkk
Commit: 2029750519
Pull-request: https://github.com/SerenityOS/serenity/pull/19257
Reviewed-by: https://github.com/AtkinsSJ ✅
27 changed files with 88 additions and 88 deletions
|
@ -251,7 +251,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
|
|||
builder.appendff(", Duration: {} ms", end - start);
|
||||
}
|
||||
}
|
||||
statusbar->set_text(builder.to_deprecated_string());
|
||||
statusbar->set_text(builder.to_string().release_value_but_fixme_should_propagate_errors());
|
||||
};
|
||||
timeline_view->on_selection_change = [&] { statusbar_update(); };
|
||||
flamegraph_view->on_hover_change = [&] { statusbar_update(); };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue