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

VideoPlayer: Port to GML

This commit is contained in:
implicitfield 2023-01-08 17:35:22 +02:00 committed by Sam Atkins
parent f0a33b2a8e
commit f63ecc2763
7 changed files with 95 additions and 42 deletions

View file

@ -24,7 +24,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
window->resize(640, 480);
window->set_resizable(true);
auto main_widget = TRY(window->set_main_widget<VideoPlayer::VideoPlayerWidget>(window));
auto main_widget = TRY(window->set_main_widget<VideoPlayer::VideoPlayerWidget>());
main_widget->update_title();
TRY(main_widget->initialize_menubar(window));