From b2e12e6acebc9cf69ce800e0900756c123d59262 Mon Sep 17 00:00:00 2001 From: Raquel Medina Date: Tue, 21 Apr 2020 01:55:02 +0200 Subject: fix typo in guimetadata.cpp Remove extra semicolon which results in received messages being discarded. Bug-AGL: SPEC-3112 Signed-off-by: Raquel Medina Change-Id: I217248f59c7c8e3a5cb5b02e3d068caf36a5bbfa --- voice-capabilities/guimetadata.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/voice-capabilities/guimetadata.cpp b/voice-capabilities/guimetadata.cpp index 4c597c1..fb59091 100644 --- a/voice-capabilities/guimetadata.cpp +++ b/voice-capabilities/guimetadata.cpp @@ -337,7 +337,7 @@ void GuiMetadata::onMessageReceived(std::shared_ptr msg) if (msg->isEvent()) { std::shared_ptr emsg = std::static_pointer_cast(msg); - if (emsg->eventApi() != "vshl-capabilities"); + if (emsg->eventApi() != "vshl-capabilities") return; QString ename = emsg->eventName(); QJsonObject data = emsg->eventData(); -- cgit 1.2.3-korg