diff options
author | Zaggy1024 <zaggy1024@gmail.com> | 2023-02-12 02:25:25 -0600 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2023-02-12 18:47:56 +0100 |
commit | a6b938b40767e3e975064641e850562b22f917fd (patch) | |
tree | 02536883221bd09bea1a61e0632e6653c9385ffb /Userland/Applications | |
parent | aa0f7d9c899dee40557b2676321c087657199c2c (diff) | |
download | serenity-a6b938b40767e3e975064641e850562b22f917fd.zip |
LibVideo/VideoPlayer: Dispatch state change events and update play icon
The PlaybackStateChangeEvent wasn't connected up anymore, so the player
wouldn't change icons when stopping playback due to reaching the end of
the stream or encountering an error.
Diffstat (limited to 'Userland/Applications')
-rw-r--r-- | Userland/Applications/VideoPlayer/VideoPlayerWidget.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Userland/Applications/VideoPlayer/VideoPlayerWidget.cpp b/Userland/Applications/VideoPlayer/VideoPlayerWidget.cpp index 8541e631ec..57e7ffe51d 100644 --- a/Userland/Applications/VideoPlayer/VideoPlayerWidget.cpp +++ b/Userland/Applications/VideoPlayer/VideoPlayerWidget.cpp @@ -129,7 +129,6 @@ void VideoPlayerWidget::resume_playback() if (!m_playback_manager || m_seek_slider->knob_dragging()) return; m_playback_manager->resume_playback(); - update_play_pause_icon(); } void VideoPlayerWidget::pause_playback() @@ -137,7 +136,6 @@ void VideoPlayerWidget::pause_playback() if (!m_playback_manager || m_seek_slider->knob_dragging()) return; m_playback_manager->pause_playback(); - update_play_pause_icon(); } void VideoPlayerWidget::toggle_pause() |