diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2017-10-18 15:34:52 +0200 |
---|---|---|
committer | Liang Qi <liang.qi@qt.io> | 2017-10-25 09:19:19 +0000 |
commit | 5eb508a31717c75d804cfb55e46e867c19ae58d2 (patch) | |
tree | 014bdba5e6b523626f0f03317162fddf6e40fde4 /src/plugins/platforminputcontexts | |
parent | ecd183455b8039ee15b9d51fd1111992af19ed1c (diff) |
Fix clazy-strict-iterators
Change-Id: I9276a85f0a8061b2636687cf694b8ed1abaa18b8
Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
Diffstat (limited to 'src/plugins/platforminputcontexts')
-rw-r--r-- | src/plugins/platforminputcontexts/compose/qcomposeplatforminputcontext.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/platforminputcontexts/compose/qcomposeplatforminputcontext.cpp b/src/plugins/platforminputcontexts/compose/qcomposeplatforminputcontext.cpp index 6016d460fc..48693ccdb0 100644 --- a/src/plugins/platforminputcontexts/compose/qcomposeplatforminputcontext.cpp +++ b/src/plugins/platforminputcontexts/compose/qcomposeplatforminputcontext.cpp @@ -222,7 +222,7 @@ bool QComposeInputContext::checkComposeTable() int next = 1; do { // if we are at the end of the table, then we have nothing to do here - if (it + next != m_composeTable.end()) { + if (it + next != m_composeTable.constEnd()) { QComposeTableElement nextElem = *(it + next); if (isDuplicate(elem, nextElem)) { elem = nextElem; |