diff options
author | Marius Vlad <marius.vlad@collabora.com> | 2020-04-25 02:02:15 +0300 |
---|---|---|
committer | Marius Vlad <marius.vlad@collabora.com> | 2020-04-25 02:05:08 +0300 |
commit | c34c355242319fcb5fb2385040a4d7f819f0afc6 (patch) | |
tree | d16ef5749091f36af11716700369e887783ae2c3 | |
parent | 01c425e69b2c5b9e80cd52a78b2de63d2a474524 (diff) |
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 <marius.vlad@collabora.com>
Change-Id: Ie9ada82af7def4989d1aec94eb5eb3144780f583
-rw-r--r-- | voice-capabilities/guimetadata.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<Message> 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(); |