diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2009-10-16 17:02:51 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2009-10-16 17:02:51 +0000 |
| commit | da9fa6274a40b4d30a06015b33d9dc2ee4241f01 (patch) | |
| tree | dee0b77bbfd6e3326d6c9373070e7393cc0ab8f2 | |
| parent | fadfc4794eeb37d05f23993b9684114690cc8b8f (diff) | |
| download | qmmp-da9fa6274a40b4d30a06015b33d9dc2ee4241f01.tar.gz qmmp-da9fa6274a40b4d30a06015b33d9dc2ee4241f01.tar.bz2 qmmp-da9fa6274a40b4d30a06015b33d9dc2ee4241f01.zip | |
some notifier changes
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@1318 90c681e8-e032-0410-971d-27865f9a5e38
| -rw-r--r-- | src/plugins/General/notifier/popupwidget.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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("</b>"); 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("</b>"); - if(!core->metaData(Qmmp::ARTIST).isEmpty()) { title.append("<br>"); |
