mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-06 11:12:54 +00: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:
parent
2336d43abc
commit
0b32ab12f1
Notes:
sideshowbarker
2024-07-19 15:05:51 +09:00
Author: https://github.com/awesomekling
Commit: 0b32ab12f1
4 changed files with 8 additions and 22 deletions
|
@ -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()];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue