mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 17:27:35 +00:00
Applications: Cast unused smart-pointer TRY return values to void
This commit is contained in:
parent
7e05ccaa70
commit
3ca2aee054
10 changed files with 40 additions and 40 deletions
|
@ -28,7 +28,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
|
|||
auto app_icon = GUI::Icon::default_icon("app-mail");
|
||||
|
||||
auto window = TRY(GUI::SettingsWindow::create("Mail Settings", GUI::SettingsWindow::ShowDefaultsButton::Yes));
|
||||
TRY(window->add_tab<MailSettingsWidget>("Mail"));
|
||||
(void)TRY(window->add_tab<MailSettingsWidget>("Mail"));
|
||||
window->set_icon(app_icon.bitmap_for_size(16));
|
||||
|
||||
window->show();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue