We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f89c504 commit e223408Copy full SHA for e223408
src/services/mpris/player.cpp
@@ -217,6 +217,7 @@ void MprisPlayer::setPosition(qreal position) {
217
void MprisPlayer::onPositionChanged() {
218
const bool firstChange = !this->lastPositionTimestamp.isValid();
219
this->lastPositionTimestamp = QDateTime::currentDateTimeUtc();
220
+ this->pausedTime = this->lastPositionTimestamp;
221
emit this->positionChanged();
222
if (firstChange) emit this->positionSupportedChanged();
223
}
0 commit comments