Commit dd5105b0 authored by Craig Watson's avatar Craig Watson

Video item: make sure progress bar doesn't hide at end of playback

parent 14700278
...@@ -243,6 +243,10 @@ void UBGraphicsMediaItemDelegate::mediaStatusChanged(QMediaPlayer::MediaStatus s ...@@ -243,6 +243,10 @@ void UBGraphicsMediaItemDelegate::mediaStatusChanged(QMediaPlayer::MediaStatus s
delegated()->pause(); delegated()->pause();
} }
// At the end of the video, make sure the progress bar doesn't autohide
if (status == QMediaPlayer::EndOfMedia)
showToolBar();
// in most cases, the only necessary action is to update the play/pause state // in most cases, the only necessary action is to update the play/pause state
updatePlayPauseState(); updatePlayPauseState();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment