mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-08 01:27:31 +00:00
Userland: Port Model::column_name() to String
This commit is contained in:
committed by
Andreas Kling
parent
741f07dedf
commit
945f05ed76
@@ -30,15 +30,15 @@ public:
|
||||
int row_count(GUI::ModelIndex const&) const override { return m_symbols.size(); };
|
||||
bool is_column_sortable(int) const override { return false; }
|
||||
|
||||
DeprecatedString column_name(int column) const override
|
||||
String column_name(int column) const override
|
||||
{
|
||||
switch (column) {
|
||||
case Column::Address:
|
||||
return "Address";
|
||||
return "Address"_short_string;
|
||||
case Column::Object:
|
||||
return "Object";
|
||||
return "Object"_short_string;
|
||||
case Column::Symbol:
|
||||
return "Symbol";
|
||||
return "Symbol"_short_string;
|
||||
default:
|
||||
VERIFY_NOT_REACHED();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user