[MPRIS Data Engine] Don't crash if "Metadata" is a map but of wrong type

Authored by broulik on Jan 4 2017, 1:17 PM.

Description

[MPRIS Data Engine] Don't crash if "Metadata" is a map but of wrong type

QDBusArgument MapType fits all kinds of maps but when we try to stream a map of type
other than a{sv} (which the MRPIS spec requires) into a QVariantMap we would crash.
Explicitly check signature to avoid this.

BUG: 374531
FIXED-IN: 5.8.6

Details

Committed
broulikJan 4 2017, 1:17 PM
Parents
R120:e43b89e2b9f3: Systray: Move all icon resolution to dataengine
Branches
Unknown
Tags
Unknown