[MPris Engine] Don't construct QDBusObjectPath in Metadata update
ClosedPublic

Authored by broulik on Aug 25 2017, 12:37 PM.

Details

Summary

Creating one from an empty string prints a warning and here we don't actually need a fully-fledged QDBusObjectPath, we can just compare strings.

BUG: 383557

Test Plan

I tested with vlc and plasma-browser-integration and neither of them actually sets mpris:trackid but the warning is gone now

Diff Detail

Repository
R120 Plasma Workspace
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
broulik created this revision.Aug 25 2017, 12:37 PM
Restricted Application added a project: Plasma. · View Herald TranscriptAug 25 2017, 12:37 PM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
mart accepted this revision.Aug 28 2017, 12:17 PM
This revision is now accepted and ready to land.Aug 28 2017, 12:17 PM
This revision was automatically updated to reflect the committed changes.