mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 06:47:35 +00:00
Userland: Port to automatic GML initializer where possible
This commit is contained in:
parent
dec066fa5c
commit
adc845e0cb
41 changed files with 148 additions and 245 deletions
|
@ -34,7 +34,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
|
|||
TRY(Core::System::unveil("/res", "r"));
|
||||
TRY(Core::System::unveil(nullptr, nullptr));
|
||||
|
||||
auto main_widget = TRY(VideoPlayer::VideoPlayerWidget::create());
|
||||
auto main_widget = TRY(VideoPlayer::VideoPlayerWidget::try_create());
|
||||
window->set_main_widget(main_widget);
|
||||
main_widget->update_title();
|
||||
TRY(main_widget->initialize_menubar(window));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue