1
Fork 0
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:
Karol Kosek 2023-06-04 11:00:35 +02:00 committed by Sam Atkins
parent 5234a30731
commit 92ff12a0d0
8 changed files with 17 additions and 17 deletions

View file

@ -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);
};