From 35b2986d14c2abc6949da8fa111157dfea70d3ba Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Fri, 11 Jul 2008 10:34:12 +0000 Subject: notifier: fixed popu message git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@452 90c681e8-e032-0410-971d-27865f9a5e38 --- src/plugins/General/notifier/popupwidget.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') 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'))); -- cgit v1.2.3-13-gbd6f