summaryrefslogtreecommitdiffstats
path: root/app/voice/ConfigDialog.qml
diff options
context:
space:
mode:
authorRaquel Medina <raquel.medina@konsulko.com>2020-05-19 01:34:05 +0200
committerraquel medina <raquel.medina@konsulko.com>2020-05-19 14:48:37 +0000
commit03a4d3a071a71286f95c8923b77e63b1908f9bca (patch)
tree3a721350ab6d09b3c5edec4710a948342a8ae06f /app/voice/ConfigDialog.qml
parente5be2a974282e3361ff0b8a48249b95b0cde3f5b (diff)
change concatenation method to reduce intermediate allocations. Bug-AGL: SPEC-3364 Signed-off-by: Raquel Medina <raquel.medina@konsulko.com> Change-Id: I2c93ffb5fc2642bddb41a55ff454132926f241fd
Diffstat (limited to 'app/voice/ConfigDialog.qml')
-rw-r--r--app/voice/ConfigDialog.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/voice/ConfigDialog.qml b/app/voice/ConfigDialog.qml
index 9767804..6ab7dea 100644
--- a/app/voice/ConfigDialog.qml
+++ b/app/voice/ConfigDialog.qml
@@ -219,7 +219,7 @@ Dialog {
* FIXME: Generated URL is currently Alexa-specific, work around for
* now by checking agent name and only displaying for Alexa.
*/
- data: root.thisAgentLoginUrl + '?cbl-code=' + root.thisAgentLoginCode
+ data: "%1?cbl-code=%2".arg(root.thisAgentLoginUrl).arg(root.thisAgentLoginCode)
visible: root.thisAgentName === "Alexa" && root.thisAgentAuthState !== "REFRESHED" && root.tokenValid
background: 'white'
margin: 16