aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGordan Markuš <gordan.markus@pelagicore.com>2016-12-14 22:05:48 +0100
committerGordan Markus <gordan.markus@pelagicore.com>2016-12-16 13:09:47 +0000
commitc52e057ae49afb1ec252beab91c08366d08ae335 (patch)
treefc08f01d9149425d013dab83297fd55f48f5b25f /src
parent9f86902c57cd66d186e3d4f5f0780e2aad037938 (diff)
tcime: Fix build warning
WARNING: Don't compare ints to QChars Change-Id: I00ff7178706ac419dfce8d26088af048f0bd7d14 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'src')
-rw-r--r--src/virtualkeyboard/tcinputmethod.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/virtualkeyboard/tcinputmethod.cpp b/src/virtualkeyboard/tcinputmethod.cpp
index 8a7a415a..6628ef7c 100644
--- a/src/virtualkeyboard/tcinputmethod.cpp
+++ b/src/virtualkeyboard/tcinputmethod.cpp
@@ -238,7 +238,7 @@ public:
// Compose back the text after the finals replacement.
input.clear();
for (int i = 0; i < decomposed.length(); ++i) {
- if (decomposed[i] != 0)
+ if (!decomposed[i].isNull())
input.append(decomposed[i]);
}
} else {