mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 06:37:43 +00:00
LibCore+Userland: Make Core::Timer::create_repeating() return ErrorOr
The FIXMEs must flow!
This commit is contained in:
parent
1d4f287582
commit
a15d44f019
12 changed files with 19 additions and 17 deletions
|
@ -89,7 +89,7 @@ ClockSettingsWidget::ClockSettingsWidget()
|
|||
|
||||
m_clock_preview_update_timer = Core::Timer::create_repeating(1000, [&]() {
|
||||
update_clock_preview();
|
||||
});
|
||||
}).release_value_but_fixme_should_propagate_errors();
|
||||
m_clock_preview_update_timer->start();
|
||||
update_clock_preview();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue