diff options
Diffstat (limited to 'src/corelib/tools/qregexp.cpp')
| -rw-r--r-- | src/corelib/tools/qregexp.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/tools/qregexp.cpp b/src/corelib/tools/qregexp.cpp index dd38ba03607..d81826b47b4 100644 --- a/src/corelib/tools/qregexp.cpp +++ b/src/corelib/tools/qregexp.cpp @@ -2035,7 +2035,7 @@ bool QRegExpMatchState::matchHere() #ifndef QT_NO_REGEXP_CCLASS const QRegExpCharClass &cc = eng->cl.at(m ^ QRegExpEngine::CharClassBit); if (eng->cs) - inside = cc.in(ch); + inside = cc.in(QChar(ch)); else if (cc.negative()) inside = cc.in(QChar(ch).toLower()) && cc.in(QChar(ch).toUpper()); |
