aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ui/playlisttitlebar.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ui/playlisttitlebar.cpp b/src/ui/playlisttitlebar.cpp
index fead3509a..c7697331f 100644
--- a/src/ui/playlisttitlebar.cpp
+++ b/src/ui/playlisttitlebar.cpp
@@ -259,7 +259,8 @@ void PlayListTitleBar::showCurrent()
{
m_text = QString("%1. ").arg(m_model->currentRow()+1);
m_text.append(info->title());
- m_text.append(QString(" (%1:%2)").arg(info->length()/60).arg(info->length()%60));
+ m_text.append(QString(" (%1:%2)").arg(info->length()/60)
+ .arg(info->length()%60, 2, 10, QChar('0')));
}
else
m_text.clear();