diff options
author | Sona Kurazyan <sona.kurazyan@qt.io> | 2019-06-25 09:59:10 +0200 |
---|---|---|
committer | Sona Kurazyan <sona.kurazyan@qt.io> | 2019-06-25 09:59:10 +0200 |
commit | 0ed673e31e292d79d1afb5d3c7e168638e654e60 (patch) | |
tree | 23d03f8ff67e98b0bcc1342872887802e04a27cc | |
parent | 0e206d4df32bfb4567438fd20c99e712dba5f804 (diff) |
Remove usages of deprecated QLatin1Literal
Task-number: QTBUG-76491
Change-Id: I6c3e2eb4a517e5c46d22c9b34a687a6c04cd05ac
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
-rw-r--r-- | src/plugins/hunspell/hunspellinputmethod/hunspellworker.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/hunspell/hunspellinputmethod/hunspellworker.cpp b/src/plugins/hunspell/hunspellinputmethod/hunspellworker.cpp index 15af0841..b33936f7 100644 --- a/src/plugins/hunspell/hunspellinputmethod/hunspellworker.cpp +++ b/src/plugins/hunspell/hunspellinputmethod/hunspellworker.cpp @@ -496,7 +496,7 @@ bool HunspellBuildSuggestionsTask::spellCheck(const QString &word) { if (!hunspell) return false; - if (word.contains(QRegularExpression(QLatin1Literal("[0-9]")))) + if (word.contains(QRegularExpression(QLatin1String("[0-9]")))) return true; return Hunspell_spell(hunspell, textCodec->fromUnicode(word).constData()) != 0; } |