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

preferencesAboutTextFull
Craig Watson 9 years ago
parent 14700278c3
commit dd5105b023
  1. 4
      src/domain/UBGraphicsMediaItemDelegate.cpp

@ -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();

Loading…
Cancel
Save