mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-02-25 09:04:53 +00:00
LibGUI+Userland: Propagate errors in Model::column_name()
This commit is contained in:
committed by
Andreas Kling
parent
94bcb5bea8
commit
f33824d2e9
@@ -30,7 +30,7 @@ public:
|
||||
int row_count(GUI::ModelIndex const&) const override { return m_symbols.size(); };
|
||||
bool is_column_sortable(int) const override { return false; }
|
||||
|
||||
String column_name(int column) const override
|
||||
ErrorOr<String> column_name(int column) const override
|
||||
{
|
||||
switch (column) {
|
||||
case Column::Address:
|
||||
|
||||
Reference in New Issue
Block a user