From c34c355242319fcb5fb2385040a4d7f819f0afc6 Mon Sep 17 00:00:00 2001 From: Marius Vlad Date: Sat, 25 Apr 2020 02:02:15 +0300 Subject: guimetadata: s/hypen/underscore to correctly call onRenderTemplate Needed to trigger onRenderTemplate signal for alexa-viewer. Bug-AGL: SPEC-3340 Signed-off-by: Marius Vlad Change-Id: Ie9ada82af7def4989d1aec94eb5eb3144780f583 --- 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 fb59091..63d99fc 100644 --- a/voice-capabilities/guimetadata.cpp +++ b/voice-capabilities/guimetadata.cpp @@ -341,7 +341,7 @@ void GuiMetadata::onMessageReceived(std::shared_ptr msg) return; QString ename = emsg->eventName(); QJsonObject data = emsg->eventData(); - if ((ename == "render-template") && updateMetadata(data)) { + if ((ename == "render_template") && updateMetadata(data)) { emit renderTemplate(); } else if (ename == "clear_template") { emit clearTemplate(); -- cgit 1.2.3-korg