From 6ee74cda4d4bff26a4b5ea079642bb9783e11d91 Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Thu, 28 Feb 2008 20:13:06 +0000 Subject: 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 --- src/ui/playlisttitlebar.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') 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(); -- cgit v1.2.3-13-gbd6f