From da9fa6274a40b4d30a06015b33d9dc2ee4241f01 Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Fri, 16 Oct 2009 17:02:51 +0000 Subject: some notifier changes git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@1318 90c681e8-e032-0410-971d-27865f9a5e38 --- src/plugins/General/notifier/popupwidget.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/plugins/General/notifier/popupwidget.cpp') diff --git a/src/plugins/General/notifier/popupwidget.cpp b/src/plugins/General/notifier/popupwidget.cpp index 8bb493df0..6ce89da44 100644 --- a/src/plugins/General/notifier/popupwidget.cpp +++ b/src/plugins/General/notifier/popupwidget.cpp @@ -87,13 +87,13 @@ void PopupWidget::showMetaData() title.append(core->metaData(Qmmp::URL).section('/',-1)); else title.append(core->metaData(Qmmp::TITLE)); + title.append(""); if (core->totalTime() > 0) { title.append(" "); - title.append(QString(" || %1:%2").arg(core->totalTime()/60000).arg(core->totalTime()%60000/1000, 2, 10, QChar('0'))); + int l = core->totalTime()/1000; + title.append(QString("(%1:%2)").arg(l/60).arg(l%60, 2, 10, QChar('0'))); } - title.append(""); - if(!core->metaData(Qmmp::ARTIST).isEmpty()) { title.append("
"); -- cgit v1.2.3-13-gbd6f