summaryrefslogtreecommitdiffstats
path: root/mediaplayer.cpp
diff options
context:
space:
mode:
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());
}
}
}