mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 19:38:12 +00:00
LibCore: Convert CTimer to ObjectPtr
This commit is contained in:
parent
c34fd10b5b
commit
50a6560413
22 changed files with 91 additions and 70 deletions
|
@ -1,5 +1,6 @@
|
|||
#pragma once
|
||||
|
||||
#include <LibCore/ObjectPtr.h>
|
||||
#include <LibGUI/GTextEditor.h>
|
||||
#include <LibGUI/GWidget.h>
|
||||
|
||||
|
@ -17,5 +18,5 @@ public:
|
|||
private:
|
||||
pid_t m_pid { -1 };
|
||||
GTextEditor* m_stacks_editor { nullptr };
|
||||
CTimer* m_timer { nullptr };
|
||||
ObjectPtr<CTimer> m_timer;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue