mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-11 10:18:15 +09:00
LibCore+Userland: Make Core::Timer::create_single_shot() return ErrorOr
clang-format sure has some interesting opinions about where to put a method call that comes after a lambda. :thonk:
This commit is contained in:
parent
a15d44f019
commit
a8cf0c9371
Notes:
sideshowbarker
2024-07-17 11:30:05 +09:00
Author: https://github.com/AtkinsSJ
Commit: a8cf0c9371
Pull-request: https://github.com/SerenityOS/serenity/pull/16960
Reviewed-by: https://github.com/alimpfard
20 changed files with 42 additions and 36 deletions
|
@ -95,11 +95,11 @@ Application::Application(int argc, char** argv, Core::EventLoop::MakeInspectable
|
|||
|
||||
m_tooltip_show_timer = Core::Timer::create_single_shot(700, [this] {
|
||||
request_tooltip_show();
|
||||
});
|
||||
}).release_value_but_fixme_should_propagate_errors();
|
||||
|
||||
m_tooltip_hide_timer = Core::Timer::create_single_shot(50, [this] {
|
||||
tooltip_hide_timer_did_fire();
|
||||
});
|
||||
}).release_value_but_fixme_should_propagate_errors();
|
||||
}
|
||||
|
||||
static bool s_in_teardown;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue