summaryrefslogtreecommitdiff
path: root/Userland/Applications/MailSettings
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/Applications/MailSettings
parent703da34947b147763815da9fee89ce2ba05372b7 (diff)
downloadserenity-54b1326165dd97ae3dab82360d0e7b029650004d.zip
Userland: Replace all uses of `load_from_gml` with `try_load_from_gml`
MOAR FIXMES! ;^)
Diffstat (limited to 'Userland/Applications/MailSettings')
-rw-r--r--Userland/Applications/MailSettings/MailSettingsWidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Applications/MailSettings/MailSettingsWidget.cpp b/Userland/Applications/MailSettings/MailSettingsWidget.cpp
index 0a3d75dd20..a48db9495c 100644
--- a/Userland/Applications/MailSettings/MailSettingsWidget.cpp
+++ b/Userland/Applications/MailSettings/MailSettingsWidget.cpp
@@ -42,7 +42,7 @@ MailSettingsWidget::MailSettingsWidget()
m_common_ports.append("143");
m_common_ports.append("993");
- load_from_gml(mail_settings_widget_gml);
+ try_load_from_gml(mail_settings_widget_gml).release_value_but_fixme_should_propagate_errors();
m_server_inputbox = *find_descendant_of_type_named<GUI::TextBox>("server_input");
m_server_inputbox->set_text(Config::read_string("Mail"sv, "Connection"sv, "Server"sv, ""sv));