summaryrefslogtreecommitdiff
path: root/Base/res
diff options
context:
space:
mode:
authorKarol Kosek <krkk@serenityos.org>2023-01-06 21:41:51 +0100
committerSam Atkins <atkinssj@gmail.com>2023-01-06 21:09:15 +0000
commit7d330d379c9219ba9f047b57f72b0e528b6057a4 (patch)
tree5453f546356bde2e2608f5eacff8f7b3fbcc0266 /Base/res
parent5f87c3022c8347e1b6edd5e2d3aa807269f00b8a (diff)
downloadserenity-7d330d379c9219ba9f047b57f72b0e528b6057a4.zip
Base: Make the serenity-application HackStudio template build again
Applies changes as seen in 0c24522635ec7f07e1fb69d9e1cd350d81e2248f.
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>());