aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/General/mpris
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2008-12-24 23:24:08 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2008-12-24 23:24:08 +0000
commit43530496ab4b2e861077a56662bb83b36794c5da (patch)
tree590a14daeeab4a2be189b84db42395c19915716e /src/plugins/General/mpris
parent5bbe6f6ec5682576609ee6d691fc2bac75e1a713 (diff)
downloadqmmp-43530496ab4b2e861077a56662bb83b36794c5da.tar.gz
qmmp-43530496ab4b2e861077a56662bb83b36794c5da.tar.bz2
qmmp-43530496ab4b2e861077a56662bb83b36794c5da.zip
mpris plugin: fixed player name
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@705 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/General/mpris')
-rw-r--r--src/plugins/General/mpris/rootobject.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/General/mpris/rootobject.cpp b/src/plugins/General/mpris/rootobject.cpp
index d5dc1af9d..7c4267d08 100644
--- a/src/plugins/General/mpris/rootobject.cpp
+++ b/src/plugins/General/mpris/rootobject.cpp
@@ -21,6 +21,7 @@
#include <QDBusMetaType>
#include <QDBusArgument>
+#include <qmmp/qmmp.h>
#include "rootobject.h"
//register << operator
@@ -56,7 +57,7 @@ RootObject::~RootObject()
QString RootObject::Identity()
{
- QString name = "Qmmp 0.3.0-svn";
+ QString name = "Qmmp " + Qmmp::strVersion();
return name;
}