1
0
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:
Kevin Cox 2013-05-30 08:28:21 -04:00
parent 7381f381e6
commit 9cc7169904

View File

@ -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);