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:
parent
3d1928cca9
commit
86c267eb89
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user