summaryrefslogtreecommitdiff
path: root/Userland/Services/LoginServer
diff options
context:
space:
mode:
authorSam Atkins <atkinssj@serenityos.org>2023-01-07 12:33:53 +0000
committerLinus Groh <mail@linusgroh.de>2023-01-07 14:39:30 +0100
commit54b1326165dd97ae3dab82360d0e7b029650004d (patch)
treebf0761a91ae3717da5e59356108e6d3260fd9137 /Userland/Services/LoginServer
parent703da34947b147763815da9fee89ce2ba05372b7 (diff)
downloadserenity-54b1326165dd97ae3dab82360d0e7b029650004d.zip
Userland: Replace all uses of `load_from_gml` with `try_load_from_gml`
MOAR FIXMES! ;^)
Diffstat (limited to 'Userland/Services/LoginServer')
-rw-r--r--Userland/Services/LoginServer/LoginWindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Services/LoginServer/LoginWindow.cpp b/Userland/Services/LoginServer/LoginWindow.cpp
index 28d438c481..d6ba92d33f 100644
--- a/Userland/Services/LoginServer/LoginWindow.cpp
+++ b/Userland/Services/LoginServer/LoginWindow.cpp
@@ -21,7 +21,7 @@ LoginWindow::LoginWindow(GUI::Window* parent)
set_icon(GUI::Icon::default_icon("ladyball"sv).bitmap_for_size(16));
auto widget = set_main_widget<GUI::Widget>().release_value_but_fixme_should_propagate_errors();
- widget->load_from_gml(login_window_gml);
+ widget->try_load_from_gml(login_window_gml).release_value_but_fixme_should_propagate_errors();
m_banner = *widget->find_descendant_of_type_named<GUI::ImageWidget>("banner");
m_banner->load_from_file("/res/graphics/brand-banner.png"sv);
m_banner->set_auto_resize(true);