aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/Ui/skinned/playlist.cpp
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2018-04-30 18:29:11 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2018-04-30 18:29:11 +0000
commitaa167f22dbbeb4c2b680bc860dbc409d5a447864 (patch)
treefd5a0ac440a784de26546e23acf798b042bec75b /src/plugins/Ui/skinned/playlist.cpp
parent4fa75cf5e6e7f0abe43d68342d1f7ff993c0c3f6 (diff)
downloadqmmp-aa167f22dbbeb4c2b680bc860dbc409d5a447864.tar.gz
qmmp-aa167f22dbbeb4c2b680bc860dbc409d5a447864.tar.bz2
qmmp-aa167f22dbbeb4c2b680bc860dbc409d5a447864.zip
changed playlist API, fixed some issues
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@7940 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/Ui/skinned/playlist.cpp')
-rw-r--r--src/plugins/Ui/skinned/playlist.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/Ui/skinned/playlist.cpp b/src/plugins/Ui/skinned/playlist.cpp
index 13f9819f0..6c57fbd9f 100644
--- a/src/plugins/Ui/skinned/playlist.cpp
+++ b/src/plugins/Ui/skinned/playlist.cpp
@@ -576,8 +576,8 @@ void PlayList::setTime(qint64 time)
if (SoundCore::instance())
{
- QString str_length = formatTime (m_pl_manager->currentPlayList()->totalLength()) +
- "/" + formatTime (SoundCore::instance()->duration()/1000);
+ QString str_length = formatTime (m_pl_manager->currentPlayList()->totalDuration() / 1000) +
+ "/" + formatTime (SoundCore::instance()->duration() / 1000);
m_length_totalLength->display (str_length);
m_length_totalLength->update();
}