diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2009-03-07 22:43:26 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2009-03-07 22:43:26 +0000 |
| commit | 0b46e2db06ec1bbfc3aee819787386ace9dad66c (patch) | |
| tree | 109f4bbf3a7227262a280f00731f0767d331a811 /src/ui/playlist.cpp | |
| parent | 5896c5ae40726637cbfc5605f5f659791ff569c7 (diff) | |
| download | qmmp-0b46e2db06ec1bbfc3aee819787386ace9dad66c.tar.gz qmmp-0b46e2db06ec1bbfc3aee819787386ace9dad66c.tar.bz2 qmmp-0b46e2db06ec1bbfc3aee819787386ace9dad66c.zip | |
improved seeking accuracy
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@827 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/ui/playlist.cpp')
| -rw-r--r-- | src/ui/playlist.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/playlist.cpp b/src/ui/playlist.cpp index 8913b58c1..b9369d2e3 100644 --- a/src/ui/playlist.cpp +++ b/src/ui/playlist.cpp @@ -461,14 +461,14 @@ void PlayList::setTime(qint64 time) if (time < 0) m_current_time->display ("--:--"); else - m_current_time->display (formatTime (time)); + m_current_time->display (formatTime (time/1000)); m_current_time->update(); if (m_playListModel && SoundCore::instance()) { m_playListModel->totalLength(); QString str_length = formatTime (m_playListModel->totalLength()) + - "/" + formatTime (SoundCore::instance()->length()); + "/" + formatTime (SoundCore::instance()->totalTime()/1000); m_length_totalLength->display (str_length); m_length_totalLength->update(); |
