aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/General/notifier
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/General/notifier')
-rw-r--r--src/plugins/General/notifier/notifier.cpp2
-rw-r--r--src/plugins/General/notifier/popupwidget.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/General/notifier/notifier.cpp b/src/plugins/General/notifier/notifier.cpp
index c55008406..c7d25db94 100644
--- a/src/plugins/General/notifier/notifier.cpp
+++ b/src/plugins/General/notifier/notifier.cpp
@@ -136,7 +136,7 @@ void Notifier::showMetaData()
data.append(m_core->metaData(Qmmp::ARTIST).toUtf8()+"\n");
data.append(m_core->metaData(Qmmp::ALBUM).toUtf8()+"\n");
data.append(m_core->metaData(Qmmp::TRACK).toUtf8()+"\n");
- data.append(QString("%1").arg(m_core->totalTime()/1000).toUtf8()+"\n");
+ data.append(QString("%1").arg(m_core->duration()/1000).toUtf8()+"\n");
foreach(QString path, m_psiTuneFiles)
{
diff --git a/src/plugins/General/notifier/popupwidget.cpp b/src/plugins/General/notifier/popupwidget.cpp
index b3a4c136a..d5b72e04b 100644
--- a/src/plugins/General/notifier/popupwidget.cpp
+++ b/src/plugins/General/notifier/popupwidget.cpp
@@ -84,7 +84,7 @@ void PopupWidget::showMetaData()
m_timer->stop();
SoundCore *core = SoundCore::instance();
- QString title = m_formatter.format(core->metaData(), core->totalTime() / 1000);
+ QString title = m_formatter.format(core->metaData(), core->duration() / 1000);
m_label1->setText(title);