mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 08:08:12 +00:00
LibGfx: Remove try_
prefix from bitmap creation functions
Those don't have any non-try counterpart, so we might as well just omit it.
This commit is contained in:
parent
1971bff314
commit
82a152b696
186 changed files with 598 additions and 598 deletions
|
@ -27,7 +27,7 @@ PasswordInputDialog::PasswordInputDialog(Window* parent_window, DeprecatedString
|
|||
|
||||
auto& key_icon_label = *widget->find_descendant_of_type_named<GUI::Label>("key_icon_label");
|
||||
|
||||
key_icon_label.set_icon(Gfx::Bitmap::try_load_from_file("/res/icons/32x32/key.png"sv).release_value_but_fixme_should_propagate_errors());
|
||||
key_icon_label.set_icon(Gfx::Bitmap::load_from_file("/res/icons/32x32/key.png"sv).release_value_but_fixme_should_propagate_errors());
|
||||
|
||||
auto& server_label = *widget->find_descendant_of_type_named<GUI::Label>("server_label");
|
||||
server_label.set_text(move(server));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue