summaryrefslogtreecommitdiff
path: root/Base/res
diff options
context:
space:
mode:
Diffstat (limited to 'Base/res')
-rw-r--r--Base/res/devel/templates/serenity-application/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Base/res/devel/templates/serenity-application/main.cpp b/Base/res/devel/templates/serenity-application/main.cpp
index 3c91c8232d..27582ff42f 100644
--- a/Base/res/devel/templates/serenity-application/main.cpp
+++ b/Base/res/devel/templates/serenity-application/main.cpp
@@ -20,7 +20,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
window->resize(96, 44);
window->set_resizable(false);
- auto main_widget = TRY(window->try_set_main_widget<GUI::Widget>());
+ auto main_widget = TRY(window->set_main_widget<GUI::Widget>());
main_widget->set_fill_with_background_color(true);
auto layout = TRY(main_widget->try_set_layout<GUI::VerticalBoxLayout>());