mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 14:48:14 +00:00
LibGUI+Userland: Propagate errors in Model::column_name()
This commit is contained in:
parent
94bcb5bea8
commit
f33824d2e9
73 changed files with 140 additions and 146 deletions
|
@ -45,11 +45,11 @@ int RunningProcessesModel::column_count(const GUI::ModelIndex&) const
|
|||
return Column::__Count;
|
||||
}
|
||||
|
||||
String RunningProcessesModel::column_name(int column_index) const
|
||||
ErrorOr<String> RunningProcessesModel::column_name(int column_index) const
|
||||
{
|
||||
switch (column_index) {
|
||||
case Column::Icon:
|
||||
return {};
|
||||
return String {};
|
||||
case Column::PID:
|
||||
return "PID"_short_string;
|
||||
case Column::UID:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue