mirror of
https://github.com/RGBCube/serenity
synced 2025-05-21 15:05:07 +00:00
ProcessManager: Use a single timer for refreshing the view.
Also add a menu for changing the update frequency to some nice values.
This commit is contained in:
parent
d73ed74d1c
commit
ac19fabaaf
4 changed files with 25 additions and 8 deletions
|
@ -13,10 +13,9 @@ public:
|
|||
|
||||
pid_t selected_pid() const;
|
||||
|
||||
protected:
|
||||
virtual void model_notification(const GModelNotification&) override;
|
||||
void refresh();
|
||||
|
||||
private:
|
||||
virtual void timer_event(CTimerEvent&) override;
|
||||
virtual void model_notification(const GModelNotification&) override;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue