diff options
author | Raquel Medina <raquel.medina@konsulko.com> | 2020-05-19 01:34:05 +0200 |
---|---|---|
committer | raquel medina <raquel.medina@konsulko.com> | 2020-05-19 14:48:37 +0000 |
commit | 03a4d3a071a71286f95c8923b77e63b1908f9bca (patch) | |
tree | 3a721350ab6d09b3c5edec4710a948342a8ae06f | |
parent | e5be2a974282e3361ff0b8a48249b95b0cde3f5b (diff) |
use % for string concatenation instead of +icefish_9.0.4icefish_9.0.3icefish_9.0.2icefish/9.0.4icefish/9.0.3icefish/9.0.29.0.49.0.39.0.2icefish
change concatenation method to reduce intermediate
allocations.
Bug-AGL: SPEC-3364
Signed-off-by: Raquel Medina <raquel.medina@konsulko.com>
Change-Id: I2c93ffb5fc2642bddb41a55ff454132926f241fd
-rw-r--r-- | app/voice/ConfigDialog.qml | 2 |
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 |