mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 15:07:45 +00:00
LibGUI+Userland: Port StatusBar::set_override_text() to String
This commit is contained in:
parent
5234a30731
commit
92ff12a0d0
8 changed files with 17 additions and 17 deletions
|
@ -61,7 +61,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
|
|||
|
||||
DeprecatedString player_name = Config::read_string("Hearts"sv, ""sv, "player_name"sv, "Gunnar"sv);
|
||||
|
||||
game.on_status_change = [&](const AK::StringView& status) {
|
||||
game.on_status_change = [&](String const& status) {
|
||||
statusbar.set_override_text(status);
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue