summaryrefslogtreecommitdiff
path: root/src/scripttools
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2012-05-03 14:19:19 +0200
committerQt by Nokia <qt-info@nokia.com>2012-05-03 17:30:21 +0200
commit406402dc639db7f5d785961717326467026fb6f1 (patch)
tree5cb396ddbeefbf917b767fc8d9cdf9516bf13f1d /src/scripttools
parentf98e56356b932388b8e6da0802c6225710511709 (diff)
downloadqtscript-406402dc639db7f5d785961717326467026fb6f1.tar.gz
Change uses of {to,from}Ascii to {to,from}Latin1
This operation should be a no-op anyway, since at this point in time, the fromAscii and toAscii functions simply call their fromLatin1 and toLatin1 counterparts. Task-number: QTBUG-21872 Change-Id: I4f44512856ea99112d8eb6d341d6058c1fc439dc Reviewed-by: Kent Hansen <kent.hansen@nokia.com>
Diffstat (limited to 'src/scripttools')
-rw-r--r--src/scripttools/debugging/qscriptsyntaxhighlighter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scripttools/debugging/qscriptsyntaxhighlighter.cpp b/src/scripttools/debugging/qscriptsyntaxhighlighter.cpp
index e3b7773..722cc00 100644
--- a/src/scripttools/debugging/qscriptsyntaxhighlighter.cpp
+++ b/src/scripttools/debugging/qscriptsyntaxhighlighter.cpp
@@ -242,7 +242,7 @@ void QScriptSyntaxHighlighter::highlightBlock(const QString &text)
if (lastWasBackSlash) {
input = InputSep;
} else {
- switch (c.toAscii()) {
+ switch (c.toLatin1()) {
case '*':
input = InputAsterix;
break;