1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 13:27:35 +00:00

VideoPlayer: Port VideoPlayer to GML compilation

This commit is contained in:
tetektoza 2023-09-29 20:24:14 +02:00 committed by Tim Schumacher
parent e26548989a
commit 1e11116d65
6 changed files with 10 additions and 16 deletions

View file

@ -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::try_create());
auto main_widget = TRY(VideoPlayer::VideoPlayerWidget::create());
window->set_main_widget(main_widget);
main_widget->update_title();
TRY(main_widget->initialize_menubar(window));