summaryrefslogtreecommitdiffstats
path: root/src/gui/text/qcssscanner.cpp
diff options
context:
space:
mode:
authorAriya Hidayat <ariya.hidayat@nokia.com>2009-09-03 16:52:01 (GMT)
committerAriya Hidayat <ariya.hidayat@nokia.com>2009-09-03 19:22:38 (GMT)
commit65d4bca69eeceef7af247f3683f8844e07fce771 (patch)
tree1b1db55b7f3d35d98804ef2864dc5f1343dab5b0 /src/gui/text/qcssscanner.cpp
parent09e700f1d2a15ea4a596045496674c4d2521f5f8 (diff)
downloadQt-65d4bca69eeceef7af247f3683f8844e07fce771.zip
Qt-65d4bca69eeceef7af247f3683f8844e07fce771.tar.gz
Qt-65d4bca69eeceef7af247f3683f8844e07fce771.tar.bz2
QCSSScanner: really skip toLower() when tokenizing the input.
Missing from e3c62dc1def9270761ca63c73ae76fdca9d61582 is the actual change to the (generated) scanner, namely to skip lowercase conversion for each and every character.
Diffstat (limited to 'src/gui/text/qcssscanner.cpp')
-rw-r--r--src/gui/text/qcssscanner.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/text/qcssscanner.cpp b/src/gui/text/qcssscanner.cpp
index 06a13de..5bbf638 100644
--- a/src/gui/text/qcssscanner.cpp
+++ b/src/gui/text/qcssscanner.cpp
@@ -46,7 +46,7 @@ public:
QCssScanner_Generated(const QString &inp);
inline QChar next() {
- return (pos < input.length()) ? input.at(pos++).toLower() : QChar();
+ return (pos < input.length()) ? input.at(pos++) : QChar();
}
int handleCommentStart();
int lex();