mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 05:07:35 +00:00
LibGUI+Userland: Rename try_load_from_gml()
-> load_from_gml()
:^)
It's the only one, so the `try` prefix is unnecessary now.
This commit is contained in:
parent
e4e12f3a96
commit
f0395a2042
85 changed files with 107 additions and 107 deletions
|
@ -38,7 +38,7 @@ CSVExportDialogPage::CSVExportDialogPage(Sheet const& sheet)
|
|||
"CSV Export Options",
|
||||
"Please select the options for the csv file you wish to export to");
|
||||
|
||||
m_page->body_widget().try_load_from_gml(csv_export_gml).release_value_but_fixme_should_propagate_errors();
|
||||
m_page->body_widget().load_from_gml(csv_export_gml).release_value_but_fixme_should_propagate_errors();
|
||||
m_page->set_is_final_page(true);
|
||||
|
||||
m_delimiter_comma_radio = m_page->body_widget().find_descendant_of_type_named<GUI::RadioButton>("delimiter_comma_radio");
|
||||
|
@ -209,7 +209,7 @@ ErrorOr<void> ExportDialog::make_and_run_for(StringView mime, NonnullOwnPtr<Core
|
|||
|
||||
page->on_next_page = [] { return nullptr; };
|
||||
|
||||
TRY(page->body_widget().try_load_from_gml(select_format_page_gml));
|
||||
TRY(page->body_widget().load_from_gml(select_format_page_gml));
|
||||
auto format_combo_box = page->body_widget().find_descendant_of_type_named<GUI::ComboBox>("select_format_page_format_combo_box");
|
||||
|
||||
Vector<DeprecatedString> supported_formats {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue