mirror of
https://github.com/strawberrymusicplayer/strawberry
synced 2025-01-28 08:09:40 +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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
const qint64 nanosec = qBound(0ll, qint64(seconds) * kNsecPerSec, length_nanosec);
|
const qint64 nanosec = qBound(0ll, seconds * kNsecPerSec, length_nanosec);
|
||||||
engine_->Seek(nanosec);
|
engine_->Seek(nanosec);
|
||||||
|
|
||||||
qLog(Debug) << "Track seeked to" << nanosec << "ns - updating scrobble point";
|
qLog(Debug) << "Track seeked to" << nanosec << "ns - updating scrobble point";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user