From e2f78b8713a26a1f7aac119ffeea8ad9e1c16eed Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Mon, 30 Apr 2018 22:38:26 +0000 Subject: fixed some regressions git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@7942 90c681e8-e032-0410-971d-27865f9a5e38 --- src/plugins/General/statusicon/statusicon.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/plugins/General') diff --git a/src/plugins/General/statusicon/statusicon.cpp b/src/plugins/General/statusicon/statusicon.cpp index 21f1a6519..86a260324 100644 --- a/src/plugins/General/statusicon/statusicon.cpp +++ b/src/plugins/General/statusicon/statusicon.cpp @@ -136,7 +136,7 @@ void StatusIcon::showMetaData() } } - QString message = m_messageFormatter.format(meta, m_core->duration() / 1000); + QString message = m_messageFormatter.format(meta, m_core->duration()); if (message.isEmpty()) message = meta[Qmmp::URL].section('/',-1); @@ -146,7 +146,7 @@ void StatusIcon::showMetaData() if(m_showToolTip) { - message = m_toolTipFormatter.format(meta, m_core->duration() / 1000); + message = m_toolTipFormatter.format(meta, m_core->duration()); if(message.isEmpty()) message = meta[Qmmp::URL].section('/',-1); m_tray->setToolTip(message); -- cgit v1.2.3-13-gbd6f