summaryrefslogtreecommitdiff
path: root/Userland/Applications/DisplaySettings/main.cpp
diff options
context:
space:
mode:
authorSam Atkins <atkinssj@serenityos.org>2021-12-03 09:53:24 +0000
committerAndreas Kling <kling@serenityos.org>2021-12-05 15:31:03 +0100
commit3ca2aee054af681b50323b71ae513f5e56f5068b (patch)
tree9c6328e6c442920a4e727a24b02294ac6e6216e2 /Userland/Applications/DisplaySettings/main.cpp
parent7e05ccaa70c22e8655a4ce9a4d2600df884a0473 (diff)
downloadserenity-3ca2aee054af681b50323b71ae513f5e56f5068b.zip
Applications: Cast unused smart-pointer TRY return values to void
Diffstat (limited to 'Userland/Applications/DisplaySettings/main.cpp')
-rw-r--r--Userland/Applications/DisplaySettings/main.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/Userland/Applications/DisplaySettings/main.cpp b/Userland/Applications/DisplaySettings/main.cpp
index e643f10aae..d036304858 100644
--- a/Userland/Applications/DisplaySettings/main.cpp
+++ b/Userland/Applications/DisplaySettings/main.cpp
@@ -27,10 +27,10 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
auto app_icon = GUI::Icon::default_icon("app-display-settings");
auto window = TRY(GUI::SettingsWindow::create("Display Settings"));
- TRY(window->add_tab<DisplaySettings::BackgroundSettingsWidget>("Background"));
- TRY(window->add_tab<DisplaySettings::FontSettingsWidget>("Fonts"));
- TRY(window->add_tab<DisplaySettings::MonitorSettingsWidget>("Monitor"));
- TRY(window->add_tab<DisplaySettings::DesktopSettingsWidget>("Workspaces"));
+ (void)TRY(window->add_tab<DisplaySettings::BackgroundSettingsWidget>("Background"));
+ (void)TRY(window->add_tab<DisplaySettings::FontSettingsWidget>("Fonts"));
+ (void)TRY(window->add_tab<DisplaySettings::MonitorSettingsWidget>("Monitor"));
+ (void)TRY(window->add_tab<DisplaySettings::DesktopSettingsWidget>("Workspaces"));
window->set_icon(app_icon.bitmap_for_size(16));