Commit 30f23ab5 authored by Matthieu Gallien's avatar Matthieu Gallien 🎵

forget the saved position withing a track when switching to another one

fix wrong initial position at startup if previous session had pause set
and was playing a different track

BUG: 408295
parent e7546560
Pipeline #41401 passed with stage
in 24 seconds
......@@ -248,6 +248,8 @@ void AudioWrapper::setSource(const QUrl &source)
d->signalMediaStatusChange(QMediaPlayer::LoadingMedia);
d->signalMediaStatusChange(QMediaPlayer::LoadedMedia);
d->signalMediaStatusChange(QMediaPlayer::BufferedMedia);
d->mHasSavedPosition = false;
}
void AudioWrapper::setPosition(qint64 position)
......
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