mirror of
https://github.com/RGBCube/serenity
synced 2025-05-19 02:25:07 +00:00
LibGUI: Remove confusing GModelNotification concept
This was a bad idea and it didn't stick. Instead we should just use the simple "on_foo" hook functions like we do for everything else. :^)
This commit is contained in:
parent
4f3234148a
commit
f7dce05c82
6 changed files with 8 additions and 51 deletions
|
@ -26,14 +26,6 @@ void ProcessTableView::refresh()
|
|||
model()->update();
|
||||
}
|
||||
|
||||
void ProcessTableView::model_notification(const GModelNotification& notification)
|
||||
{
|
||||
if (notification.type() == GModelNotification::ModelUpdated) {
|
||||
// Do something?
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
pid_t ProcessTableView::selected_pid() const
|
||||
{
|
||||
if (!model()->selected_index().is_valid())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue