mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-10 09:02:44 +02:00
ProcessManager: Make the toolbar actions work again.
We can't grab at the ProcessTableModel directly anymore since we have a sorting proxy model in the middle now.
This commit is contained in:
@@ -199,10 +199,3 @@ void ProcessTableModel::update()
|
||||
|
||||
did_update();
|
||||
}
|
||||
|
||||
pid_t ProcessTableModel::selected_pid() const
|
||||
{
|
||||
if (!selected_index().is_valid())
|
||||
return -1;
|
||||
return m_pids[selected_index().row()];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user