1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 21:57:43 +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

@ -61,15 +61,15 @@ ErrorOr<String> PlaylistModel::column_name(int column) const
{
switch (column) {
case Column::Title:
return "Title"_short_string;
return "Title"_string;
case Column::Duration:
return "Duration"_string;
case Column::Group:
return "Group"_short_string;
return "Group"_string;
case Column::Album:
return "Album"_short_string;
return "Album"_string;
case Column::Artist:
return "Artist"_short_string;
return "Artist"_string;
case Column::Filesize:
return "Filesize"_string;
}