aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/cerence/xt9/xt9common/xt9awime.cpp
diff options
context:
space:
mode:
authorJarkko Koivikko <jarkko.koivikko@code-q.fi>2021-09-02 11:46:59 +0300
committerJarkko Koivikko <jarkko.koivikko@code-q.fi>2021-09-02 16:21:51 +0300
commit3d402c7d33772a39415cf47842ef855c59a49acd (patch)
treebc90f7ff2da480a12c6a9a054812332001aa3512 /src/plugins/cerence/xt9/xt9common/xt9awime.cpp
parent3d65eb1bd0a4b6e2468bdfcbbcd427c7d92763ad (diff)
cerence: xt9: Add special case for an invalid input (as reported by xt9)
If the xt9 selection list build fails due to ET9STATUS_INVALID_INPUT, remove the symbol and select preferred candidate from the previous selection list. After this, start new input sequence using the rejected symbol as initial symbol. Pick-to: 6.2 Change-Id: Ib55d7391045c8d9c1db109e3ecd3855c71f45449 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io> Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi>
Diffstat (limited to 'src/plugins/cerence/xt9/xt9common/xt9awime.cpp')
-rw-r--r--src/plugins/cerence/xt9/xt9common/xt9awime.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/cerence/xt9/xt9common/xt9awime.cpp b/src/plugins/cerence/xt9/xt9common/xt9awime.cpp
index 912b65e3..fa84efc9 100644
--- a/src/plugins/cerence/xt9/xt9common/xt9awime.cpp
+++ b/src/plugins/cerence/xt9/xt9common/xt9awime.cpp
@@ -86,9 +86,8 @@ bool Xt9AwIme::dlmInit(void *data, qint64 size)
return !eStatus;
}
-QStringList Xt9AwIme::buildSelectionList(int *defaultListIndex, ET9U16 *gestureValue)
+QStringList Xt9AwIme::buildSelectionList(int *defaultListIndex, ET9U16 *gestureValue, ET9STATUS &eStatus)
{
- ET9STATUS eStatus;
ET9U8 totalWords;
ET9U8 listIndex;