aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/General/mpris/tracklistobject.cpp
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2010-09-15 11:19:59 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2010-09-15 11:19:59 +0000
commit4b02064e9f260443c38ba6e145d64715b9031e27 (patch)
tree4953b55c7ec42e7d2a44b5e71d111d4d748932cb /src/plugins/General/mpris/tracklistobject.cpp
parent7b7c016ad80bcb09ff64f0b97b7acd30ca5f9cbf (diff)
downloadqmmp-4b02064e9f260443c38ba6e145d64715b9031e27.tar.gz
qmmp-4b02064e9f260443c38ba6e145d64715b9031e27.tar.bz2
qmmp-4b02064e9f260443c38ba6e145d64715b9031e27.zip
fixed problem with pidgin music tracker
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@1886 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/General/mpris/tracklistobject.cpp')
-rw-r--r--src/plugins/General/mpris/tracklistobject.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/General/mpris/tracklistobject.cpp b/src/plugins/General/mpris/tracklistobject.cpp
index 49a25b5da..a7d069c29 100644
--- a/src/plugins/General/mpris/tracklistobject.cpp
+++ b/src/plugins/General/mpris/tracklistobject.cpp
@@ -90,11 +90,11 @@ QVariantMap TrackListObject::GetMetadata(int in0)
map.insert("artist", item->artist());
map.insert("album", item->album());
map.insert("tracknumber", item->track());
- map.insert("time", item->length());
- map.insert("mtime", item->length() * 1000);
+ map.insert("time", (quint32)item->length());
+ map.insert("mtime", (quint32)item->length() * 1000);
map.insert("genre", item->genre());
map.insert("comment", item->comment());
- map.insert("year", item->year());
+ map.insert("year", item->year().toUInt());
}
return map;
}