diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-09-04 03:37:55 (GMT) |
---|---|---|
committer | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-09-04 03:37:55 (GMT) |
commit | 5974c8a7216459e1ce820c42e448b49cea49a778 (patch) | |
tree | 721cdd001e94dd15efed68c1dc82bcc73cf3d2db /src/gui/text/qcssparser.cpp | |
parent | f2d3043e72dbfd9281925ccda76840dfd35ff38f (diff) | |
parent | 89ce8d3b2a389a405f97d42bafa47ef244324822 (diff) | |
download | Qt-5974c8a7216459e1ce820c42e448b49cea49a778.zip Qt-5974c8a7216459e1ce820c42e448b49cea49a778.tar.gz Qt-5974c8a7216459e1ce820c42e448b49cea49a778.tar.bz2 |
Merge branch 'kinetic-declarativeui' of git@scm.dev.nokia.troll.no:qt/kinetic into kinetic-declarativeui
Diffstat (limited to 'src/gui/text/qcssparser.cpp')
-rw-r--r-- | src/gui/text/qcssparser.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/text/qcssparser.cpp b/src/gui/text/qcssparser.cpp index 6978b45..f252444 100644 --- a/src/gui/text/qcssparser.cpp +++ b/src/gui/text/qcssparser.cpp @@ -2126,6 +2126,7 @@ void Parser::init(const QString &css, bool isFile) hasEscapeSequences = false; symbols.resize(0); + symbols.reserve(8); Scanner::scan(Scanner::preprocess(styleSheet, &hasEscapeSequences), &symbols); index = 0; errorIndex = -1; |