1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 16:07:47 +00:00

Userland: Prefer _string over _short_string

As `_string` can't fail anymore (since 3434412), there are no real
benefits to use the short variant in most cases.
This commit is contained in:
Lucas CHOLLET 2023-08-07 22:26:17 -04:00 committed by Andreas Kling
parent a5edc9cdfc
commit 3f35ffb648
198 changed files with 684 additions and 684 deletions

View file

@ -214,7 +214,7 @@ void Field::reset()
m_first_click = true;
set_updates_enabled(false);
m_time_elapsed = 0;
m_time_label.set_text("00:00"_short_string);
m_time_label.set_text("00:00"_string);
m_flags_left = m_mine_count;
m_flag_label.set_text(String::number(m_flags_left).release_value_but_fixme_should_propagate_errors());
m_timer->stop();