1
Fork 0
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:
Andreas Kling 2019-08-20 19:43:12 +02:00
parent 4f3234148a
commit f7dce05c82
6 changed files with 8 additions and 51 deletions

View file

@ -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())