diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2018-04-15 08:15:30 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2018-04-15 08:15:30 +0000 |
| commit | fb04803cc2865030f8913f2e85221ff25b93ecf8 (patch) | |
| tree | 591b3ef84b89eafd22b854f9b2b64788e77766a6 /src/plugins/General/kdenotify | |
| parent | 9cde07e978a6945c31ec577aaec780e83a3384df (diff) | |
| download | qmmp-fb04803cc2865030f8913f2e85221ff25b93ecf8.tar.gz qmmp-fb04803cc2865030f8913f2e85221ff25b93ecf8.tar.bz2 qmmp-fb04803cc2865030f8913f2e85221ff25b93ecf8.zip | |
some api changes
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@7905 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/General/kdenotify')
| -rw-r--r-- | src/plugins/General/kdenotify/kdenotify.cpp | 4 |
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) |
