mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 20:28:11 +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
|
@ -250,7 +250,7 @@ void MonitorSettingsWidget::apply_settings()
|
|||
if (seconds_until_revert <= 0) {
|
||||
box->close();
|
||||
}
|
||||
});
|
||||
}).release_value_but_fixme_should_propagate_errors();
|
||||
revert_timer->start();
|
||||
|
||||
// If the user selects "No", closes the window or the window gets closed by the 10 seconds timer, revert the changes.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue