aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2008-11-23 20:46:48 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2008-11-23 20:46:48 +0000
commit60d5784c5d5e02990f57ace15cd264e35bdc5fe1 (patch)
tree258619b8e89cc1695138707968de4ab23ca59f5a
parentf1fcd977f02a579829cd654dca625632237b0e07 (diff)
downloadqmmp-60d5784c5d5e02990f57ace15cd264e35bdc5fe1.tar.gz
qmmp-60d5784c5d5e02990f57ace15cd264e35bdc5fe1.tar.bz2
qmmp-60d5784c5d5e02990f57ace15cd264e35bdc5fe1.zip
notifier plugin: show duration of the cue tracks
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@628 90c681e8-e032-0410-971d-27865f9a5e38
-rw-r--r--src/plugins/General/notifier/popupwidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/General/notifier/popupwidget.cpp b/src/plugins/General/notifier/popupwidget.cpp
index 86f74e736..c6ac1fc7a 100644
--- a/src/plugins/General/notifier/popupwidget.cpp
+++ b/src/plugins/General/notifier/popupwidget.cpp
@@ -39,7 +39,7 @@ PopupWidget::PopupWidget(const SongInfo &song, QWidget *parent)
if(title.isEmpty())
title = song.path().section('/',-1);
title.append(" ");
- if (!song.isStream())
+ if (song.length() > 0)
title.append(QString("(%1:%2)").arg(song.length()/60).arg(song.length()%60, 2, 10, QChar('0')));
QHBoxLayout *hlayout = new QHBoxLayout(this);