aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/General/kdenotify/kdenotify.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/General/kdenotify/kdenotify.cpp')
-rw-r--r--src/plugins/General/kdenotify/kdenotify.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/General/kdenotify/kdenotify.cpp b/src/plugins/General/kdenotify/kdenotify.cpp
index d4bb4a482..6b0826769 100644
--- a/src/plugins/General/kdenotify/kdenotify.cpp
+++ b/src/plugins/General/kdenotify/kdenotify.cpp
@@ -95,7 +95,7 @@ KdeNotify::~KdeNotify()
QString KdeNotify::totalTimeString()
{
- int time = SoundCore::instance()->totalTime()/1000;
+ int time = SoundCore::instance()->duration()/1000;
if(time >= 3600)
{
@@ -121,7 +121,7 @@ QList<QVariant> KdeNotify::prepareNotification()
args.append(tr("Qmmp now playing:")); //summary (notification title)
MetaDataFormatter f(m_template);
- QString body = f.format(core->metaData(), core->totalTime()/1000);
+ QString body = f.format(core->metaData(), core->duration()/1000);
QString coverPath;
if(m_showCovers)