summaryrefslogtreecommitdiff
path: root/Userland/Applications/KeyboardSettings/KeyboardSettingsWidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Applications/KeyboardSettings/KeyboardSettingsWidget.cpp')
-rw-r--r--Userland/Applications/KeyboardSettings/KeyboardSettingsWidget.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Applications/KeyboardSettings/KeyboardSettingsWidget.cpp b/Userland/Applications/KeyboardSettings/KeyboardSettingsWidget.cpp
index f704fa3aa9..e4f400675b 100644
--- a/Userland/Applications/KeyboardSettings/KeyboardSettingsWidget.cpp
+++ b/Userland/Applications/KeyboardSettings/KeyboardSettingsWidget.cpp
@@ -52,7 +52,7 @@ private:
: Dialog(parent_window)
{
auto widget = set_main_widget<GUI::Widget>().release_value_but_fixme_should_propagate_errors();
- widget->try_load_from_gml(keymap_dialog_gml).release_value_but_fixme_should_propagate_errors();
+ widget->load_from_gml(keymap_dialog_gml).release_value_but_fixme_should_propagate_errors();
set_resizable(false);
resize(190, 54);
@@ -151,7 +151,7 @@ private:
KeyboardSettingsWidget::KeyboardSettingsWidget()
{
- try_load_from_gml(keyboard_widget_gml).release_value_but_fixme_should_propagate_errors();
+ load_from_gml(keyboard_widget_gml).release_value_but_fixme_should_propagate_errors();
auto proc_keymap = Core::File::construct("/sys/kernel/keymap");
if (!proc_keymap->open(Core::OpenMode::ReadOnly))