mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 23:07:35 +00:00
Base+VideoPlayer: Add an icon for video player
Co-authored-by: TreuKS <ks2225@protonmail.com>
This commit is contained in:
parent
d736b2c3c3
commit
e00b16460c
5 changed files with 5 additions and 2 deletions
|
@ -8,6 +8,7 @@
|
|||
#include "LibVideo/MatroskaDemuxer.h"
|
||||
#include <LibCore/ArgsParser.h>
|
||||
#include <LibGUI/Application.h>
|
||||
#include <LibGUI/Icon.h>
|
||||
#include <LibGUI/Window.h>
|
||||
#include <LibMain/Main.h>
|
||||
|
||||
|
@ -33,5 +34,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
|
|||
main_widget->open_file(filename);
|
||||
|
||||
window->show();
|
||||
window->set_icon(GUI::Icon::default_icon("app-video-player"sv).bitmap_for_size(16));
|
||||
|
||||
return app->exec();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue