1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 01:07:36 +00:00

Userland: Port Model::column_name() to String

This commit is contained in:
Karol Kosek 2023-05-14 19:02:08 +02:00 committed by Andreas Kling
parent 741f07dedf
commit 945f05ed76
70 changed files with 218 additions and 222 deletions

View file

@ -34,13 +34,13 @@ int HistoryModel::row_count(GUI::ModelIndex const& index) const
return 0;
}
DeprecatedString HistoryModel::column_name(int column) const
String HistoryModel::column_name(int column) const
{
switch (column) {
case Column::Title:
return "Title";
return "Title"_short_string;
case Column::URL:
return "URL";
return "URL"_short_string;
default:
VERIFY_NOT_REACHED();
}