summaryrefslogtreecommitdiffstats
path: root/src/corelib/tools/qstringmatcher.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/tools/qstringmatcher.cpp')
-rw-r--r--src/corelib/tools/qstringmatcher.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/tools/qstringmatcher.cpp b/src/corelib/tools/qstringmatcher.cpp
index 67e7ad3825..67d3f0ebc8 100644
--- a/src/corelib/tools/qstringmatcher.cpp
+++ b/src/corelib/tools/qstringmatcher.cpp
@@ -252,7 +252,7 @@ void QStringMatcher::setCaseSensitivity(Qt::CaseSensitivity cs)
{
if (cs == q_cs)
return;
- bm_init_skiptable((const ushort *)q_pattern.unicode(), q_pattern.size(), p.q_skiptable, cs);
+ bm_init_skiptable((const ushort *)p.uc, p.len, p.q_skiptable, cs);
q_cs = cs;
}