summaryrefslogtreecommitdiff
path: root/src/scripttools/debugging/qscriptcompletiontask.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/scripttools/debugging/qscriptcompletiontask.cpp')
-rw-r--r--src/scripttools/debugging/qscriptcompletiontask.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scripttools/debugging/qscriptcompletiontask.cpp b/src/scripttools/debugging/qscriptcompletiontask.cpp
index 769293d..fe0cb93 100644
--- a/src/scripttools/debugging/qscriptcompletiontask.cpp
+++ b/src/scripttools/debugging/qscriptcompletiontask.cpp
@@ -120,7 +120,7 @@ namespace {
static bool isIdentChar(const QChar &ch)
{
static QChar underscore = QLatin1Char('_');
- return ch.isLetter() || (ch == underscore);
+ return ch.isLetterOrNumber() || (ch == underscore);
}
static bool isPrefixOf(const QString &prefix, const QString &what)