1
0
mirror of https://github.com/strawberrymusicplayer/strawberry synced 2025-01-14 17:46:17 +01:00

Seconds is already qint64

This commit is contained in:
Jonas Kvinge 2021-04-26 23:13:37 +02:00
parent 3d1928cca9
commit 86c267eb89

View File

@ -642,7 +642,7 @@ void Player::SeekTo(const qint64 seconds) {
return;
}
const qint64 nanosec = qBound(0ll, qint64(seconds) * kNsecPerSec, length_nanosec);
const qint64 nanosec = qBound(0ll, seconds * kNsecPerSec, length_nanosec);
engine_->Seek(nanosec);
qLog(Debug) << "Track seeked to" << nanosec << "ns - updating scrobble point";