aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/Ui/skinned/playlist.cpp
diff options
context:
space:
mode:
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();
}