mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-05 06:32:30 +02:00
LibGUI: Make Clipboard::initialize propagate errors
This commit is contained in:
committed by
Sam Atkins
parent
1a97382305
commit
5c29b45d1d
Notes:
sideshowbarker
2024-07-16 23:17:55 +09:00
Author: https://github.com/LucasChollet Commit: https://github.com/SerenityOS/serenity/commit/5c29b45d1d Pull-request: https://github.com/SerenityOS/serenity/pull/18648 Reviewed-by: https://github.com/AtkinsSJ ✅
@@ -79,7 +79,7 @@ ErrorOr<NonnullRefPtr<Application>> Application::create(Main::Arguments const& a
|
||||
application->m_event_loop = TRY(try_make<Core::EventLoop>());
|
||||
|
||||
ConnectionToWindowServer::the();
|
||||
Clipboard::initialize({});
|
||||
TRY(Clipboard::initialize({}));
|
||||
|
||||
if (arguments.argc > 0)
|
||||
application->m_invoked_as = arguments.argv[0];
|
||||
|
||||
Reference in New Issue
Block a user