diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2008-11-23 20:46:48 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2008-11-23 20:46:48 +0000 |
| commit | 60d5784c5d5e02990f57ace15cd264e35bdc5fe1 (patch) | |
| tree | 258619b8e89cc1695138707968de4ab23ca59f5a /src | |
| parent | f1fcd977f02a579829cd654dca625632237b0e07 (diff) | |
| download | qmmp-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
Diffstat (limited to 'src')
| -rw-r--r-- | src/plugins/General/notifier/popupwidget.cpp | 2 |
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); |
