aboutsummaryrefslogtreecommitdiff
path: root/src/ui/playlisttitlebar.cpp
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2008-02-28 20:13:06 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2008-02-28 20:13:06 +0000
commit6ee74cda4d4bff26a4b5ea079642bb9783e11d91 (patch)
treeb7c4f051353ce127cef826cdd1db292da56ddced /src/ui/playlisttitlebar.cpp
parent3f3a5a8be3949936f47e6430aba16415b22ad6bb (diff)
downloadqmmp-6ee74cda4d4bff26a4b5ea079642bb9783e11d91.tar.gz
qmmp-6ee74cda4d4bff26a4b5ea079642bb9783e11d91.tar.bz2
qmmp-6ee74cda4d4bff26a4b5ea079642bb9783e11d91.zip
fixed time format in the shaded mode
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@258 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/ui/playlisttitlebar.cpp')
-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();