mirror of
https://github.com/strawberrymusicplayer/strawberry
synced 2025-01-30 17:14:58 +01:00
mpris2: Fix mpris:trackid type with Plasma 6
This commit is contained in:
parent
88b5cf2461
commit
cd2b3cb73e
@ -57,7 +57,7 @@ inline void AddMetadata(const QString &key, const QDateTime &metadata, QVariantM
|
||||
}
|
||||
|
||||
inline void AddMetadata(const QString &key, const QDBusObjectPath &metadata, QVariantMap *map) {
|
||||
if (metadata.path().length() > 0) (*map)[key] = metadata;
|
||||
if (metadata.path().length() > 0) (*map)[key] = QVariant::fromValue<QDBusObjectPath>(metadata);
|
||||
}
|
||||
|
||||
inline QString AsMPRISDateTimeType(const qint64 time) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user