summaryrefslogtreecommitdiffstats
path: root/mediaplayer.cpp
diff options
context:
space:
mode:
authorMatt Ranostay <matt.ranostay@konsulko.com>2018-05-10 00:44:44 -0700
committerMatt Ranostay <matt.ranostay@konsulko.com>2018-05-10 00:47:05 -0700
commit6465961f28f40ff5a2da31876f1c23ea3c7f7cec (patch)
tree1f9ea85492d6b33b083a92fb475030f6e1dff243 /mediaplayer.cpp
parenta3473c9b0dc08ba13b079c2f72a8705131f850b7 (diff)
libqtappfw: mediaplayer: switch from QJsonObject to QVariantMap
Use more generic QVariantMap in signals to avoid requiring a consumer from using QJsonObject includes. Bug-AGL: SPEC-1375 Change-Id: I4efba63a464c7c6da2f06abb4cf17b6782c57f43 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Diffstat (limited to 'mediaplayer.cpp')
-rw-r--r--mediaplayer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/mediaplayer.cpp b/mediaplayer.cpp
index 58aad8a..5755f37 100644
--- a/mediaplayer.cpp
+++ b/mediaplayer.cpp
@@ -161,9 +161,9 @@ void Mediaplayer::onMessageReceived(MessageType type, Message *message)
if (tmsg->isEvent()) {
if (tmsg->isPlaylistEvent()) {
- emit playlistChanged(tmsg->eventData());
+ emit playlistChanged(tmsg->eventData().toVariantMap());
} else if (tmsg->isMetadataEvent()) {
- emit metadataChanged(tmsg->eventData());
+ emit metadataChanged(tmsg->eventData().toVariantMap());
}
}
}