mirror of https://github.com/KDE/kasts.git
Remove "new" status when starting playback of an episode
Before the introduction of streaming, the "status" would be removed when an episode was downloaded or marked as played, which made sense. With the introduction of streaming it makes sense to also remove the "new" status when (streaming) playback starts. At that point in time the episode should indeed no longer considered to be "new".
This commit is contained in:
parent
dd386519d0
commit
71650e3499
|
@ -415,6 +415,10 @@ void AudioManager::play()
|
|||
d->m_player.play();
|
||||
d->m_isSeekable = true;
|
||||
Q_EMIT seekableChanged(d->m_isSeekable);
|
||||
|
||||
if (d->m_entry && d->m_entry->getNew()) {
|
||||
d->m_entry->setNew(false);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue