diff options
author | Sam Atkins <atkinssj@serenityos.org> | 2023-01-07 12:38:23 +0000 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2023-01-07 14:39:30 +0100 |
commit | f0395a20428230ee680c6f92efd68dedd040c658 (patch) | |
tree | e391a4ef7736281c4d2c93dcba862060e935825d /Userland/Applications/Escalator | |
parent | e4e12f3a961efd5f0ce0204becd3ce762a458c4c (diff) | |
download | serenity-f0395a20428230ee680c6f92efd68dedd040c658.zip |
LibGUI+Userland: Rename `try_load_from_gml()` -> `load_from_gml()` :^)
It's the only one, so the `try` prefix is unnecessary now.
Diffstat (limited to 'Userland/Applications/Escalator')
-rw-r--r-- | Userland/Applications/Escalator/EscalatorWindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Applications/Escalator/EscalatorWindow.cpp b/Userland/Applications/Escalator/EscalatorWindow.cpp index 63e8d048e2..abed1f7c4a 100644 --- a/Userland/Applications/Escalator/EscalatorWindow.cpp +++ b/Userland/Applications/Escalator/EscalatorWindow.cpp @@ -32,7 +32,7 @@ EscalatorWindow::EscalatorWindow(StringView executable, Vector<StringView> argum set_minimizable(false); auto main_widget = set_main_widget<GUI::Widget>().release_value_but_fixme_should_propagate_errors(); - main_widget->try_load_from_gml(escalator_gml).release_value_but_fixme_should_propagate_errors(); + main_widget->load_from_gml(escalator_gml).release_value_but_fixme_should_propagate_errors(); RefPtr<GUI::Label> app_label = *main_widget->find_descendant_of_type_named<GUI::Label>("description"); |