summaryrefslogtreecommitdiffstats
path: root/voice-capabilities/guimetadata.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'voice-capabilities/guimetadata.cpp')
-rw-r--r--voice-capabilities/guimetadata.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/voice-capabilities/guimetadata.cpp b/voice-capabilities/guimetadata.cpp
index 2ab86c5..949cb58 100644
--- a/voice-capabilities/guimetadata.cpp
+++ b/voice-capabilities/guimetadata.cpp
@@ -14,12 +14,13 @@
* limitations under the License.
*/
+#include <QDebug>
+#include <QJsonArray>
+
#include "message.h"
+#include "guimetadatamessage.h"
#include "messageengine.h"
#include "guimetadata.h"
-#include "guimetadatamessage.h"
-
-#include <QJsonArray>
GuiMetadata::GuiMetadata(QUrl &url, QQmlContext *context, QObject * parent) :
QObject(parent),
@@ -329,7 +330,7 @@ void GuiMetadata::onDisconnected()
void GuiMetadata::onMessageReceived(MessageType type, Message *message)
{
- if (type == GuiMetadataCapabilityEventMessage) {
+ if (type == MessageType::GuiMetadataCapabilityEventMessage) {
GuiMetadataCapabilityMessage *tmsg = qobject_cast<GuiMetadataCapabilityMessage*>(message);
if (tmsg->isEvent()) {
if (tmsg->isGuiMetadataRenderTemplateEvent()) {