diff options
author | Sam Atkins <atkinssj@serenityos.org> | 2023-01-11 16:31:10 +0000 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2023-01-12 11:25:51 +0100 |
commit | a8cf0c9371f7ba500cc4920889bc06d78623e980 (patch) | |
tree | e6ac140bb2b697d69417e9ff944576350671a94a /Userland/Libraries/LibGUI/TextEditor.cpp | |
parent | a15d44f019dc60b001c565ce0b940cc87024dbfd (diff) | |
download | serenity-a8cf0c9371f7ba500cc4920889bc06d78623e980.zip |
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:
Diffstat (limited to 'Userland/Libraries/LibGUI/TextEditor.cpp')
-rw-r--r-- | Userland/Libraries/LibGUI/TextEditor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibGUI/TextEditor.cpp b/Userland/Libraries/LibGUI/TextEditor.cpp index 3236d3c5fc..33eb8cfce1 100644 --- a/Userland/Libraries/LibGUI/TextEditor.cpp +++ b/Userland/Libraries/LibGUI/TextEditor.cpp @@ -2265,7 +2265,7 @@ void TextEditor::set_should_autocomplete_automatically(bool value) m_autocomplete_timer = Core::Timer::create_single_shot(m_automatic_autocomplete_delay_ms, [this] { if (m_autocomplete_box && !m_autocomplete_box->is_visible()) try_show_autocomplete(UserRequestedAutocomplete::No); - }); + }).release_value_but_fixme_should_propagate_errors(); return; } |