mirror of
https://github.com/SerenityOS/serenity
synced 2024-07-24 03:25:02 +00:00
Base: Make the serenity-application HackStudio template build again
Applies changes as seen in 0c24522635
.
This commit is contained in:
parent
5f87c3022c
commit
7d330d379c
|
@ -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>());
|
||||
|
|
Loading…
Reference in a new issue