mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-24 03:02:23 +00:00
ProcessManager: Show some basic system memory stats below the process table.
This really improves the feeling of "system overview" :^)
This commit is contained in:
parent
8017c1e17c
commit
37388b311f
Notes:
sideshowbarker
2024-07-19 15:05:34 +09:00
Author: https://github.com/awesomekling
Commit: 37388b311f
9 changed files with 158 additions and 9 deletions
|
@ -24,8 +24,7 @@ void ProcessTableView::timer_event(GTimerEvent&)
|
|||
void ProcessTableView::model_notification(const GModelNotification& notification)
|
||||
{
|
||||
if (notification.type() == GModelNotification::ModelUpdated) {
|
||||
if (on_status_message)
|
||||
on_status_message(String::format("%d processes", model()->row_count()));
|
||||
// Do something?
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue