mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 07:58:11 +00:00
Userspace: Use Core::Object::add() when building interfaces
This commit is contained in:
parent
7ec758773c
commit
3d20da9ee4
87 changed files with 403 additions and 438 deletions
|
@ -42,7 +42,7 @@ public:
|
|||
{
|
||||
m_time_width = Gfx::Font::default_bold_font().width("2222-22-22 22:22:22");
|
||||
|
||||
m_timer = Core::Timer::construct(1000, [this] {
|
||||
m_timer = add<Core::Timer>(1000, [this] {
|
||||
static time_t last_update_time;
|
||||
time_t now = time(nullptr);
|
||||
if (now != last_update_time) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue