diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2008-07-11 10:34:12 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2008-07-11 10:34:12 +0000 |
| commit | 35b2986d14c2abc6949da8fa111157dfea70d3ba (patch) | |
| tree | a47f6508bd6ea7d5fb9a91c33c0f236dda978d1a | |
| parent | 07563c36e9dd8477fe71462e23e2509354fd73bd (diff) | |
| download | qmmp-35b2986d14c2abc6949da8fa111157dfea70d3ba.tar.gz qmmp-35b2986d14c2abc6949da8fa111157dfea70d3ba.tar.bz2 qmmp-35b2986d14c2abc6949da8fa111157dfea70d3ba.zip | |
notifier: fixed popu message
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@452 90c681e8-e032-0410-971d-27865f9a5e38
| -rw-r--r-- | src/plugins/General/notifier/popupwidget.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/General/notifier/popupwidget.cpp b/src/plugins/General/notifier/popupwidget.cpp index d2e36a94f..86f74e736 100644 --- a/src/plugins/General/notifier/popupwidget.cpp +++ b/src/plugins/General/notifier/popupwidget.cpp @@ -36,6 +36,8 @@ PopupWidget::PopupWidget(const SongInfo &song, QWidget *parent) Qt::WindowStaysOnTopHint); setFrameStyle(QFrame::Box | QFrame::Plain); QString title = song.title(); + if(title.isEmpty()) + title = song.path().section('/',-1); title.append(" "); if (!song.isStream()) title.append(QString("(%1:%2)").arg(song.length()/60).arg(song.length()%60, 2, 10, QChar('0'))); |
