diff options
Diffstat (limited to 'Libraries/LibGUI/RunningProcessesModel.cpp')
-rw-r--r-- | Libraries/LibGUI/RunningProcessesModel.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Libraries/LibGUI/RunningProcessesModel.cpp b/Libraries/LibGUI/RunningProcessesModel.cpp index 8d3b2090d4..10da47d1c6 100644 --- a/Libraries/LibGUI/RunningProcessesModel.cpp +++ b/Libraries/LibGUI/RunningProcessesModel.cpp @@ -92,15 +92,15 @@ String RunningProcessesModel::column_name(int column_index) const ASSERT_NOT_REACHED(); } -GUI::Variant RunningProcessesModel::data(const GUI::ModelIndex& index, Role role) const +GUI::Variant RunningProcessesModel::data(const GUI::ModelIndex& index, GUI::ModelRole role) const { auto& process = m_processes[index.row()]; - if (role == Role::Custom) { + if (role == ModelRole::Custom) { return process.pid; } - if (role == Role::Display) { + if (role == ModelRole::Display) { switch (index.column()) { case Column::Icon: if (!process.icon) |