summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 7ea204f..019eda4 100644
--- a/src/scripttools/debugging/qscriptcompletiontask.cpp
+++ b/src/scripttools/debugging/qscriptcompletiontask.cpp
@@ -118,7 +118,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)