mirror of
https://github.com/clementine-player/Clementine
synced 2024-12-18 20:34:39 +01:00
Used kNsecPerSec for milliseconds in a second.
This commit is contained in:
parent
7381f381e6
commit
9cc7169904
@ -242,7 +242,7 @@ void Player::PlayPause() {
|
||||
}
|
||||
|
||||
void Player::RestartOrPrevious() {
|
||||
if (engine_->position_nanosec() < (qint64)8*1000*1000*1000)
|
||||
if (engine_->position_nanosec() < 8*kNsecPerSec)
|
||||
return Previous();
|
||||
|
||||
SeekTo(0);
|
||||
|
Loading…
Reference in New Issue
Block a user