diff options
author | aavit <qt-info@nokia.com> | 2011-09-08 19:42:31 (GMT) |
---|---|---|
committer | aavit <qt-info@nokia.com> | 2011-09-08 19:42:31 (GMT) |
commit | a2c2c71ecd84e90f72697dfd57544c8d506c78e2 (patch) | |
tree | c5e31ff16e2471d33a124a6a37f4e48acdacd235 /src/tools | |
parent | 6326227674efa85c1a5320141041110d211efc75 (diff) | |
parent | 260005374b9b930aa583cd117aba96f8f4b34131 (diff) | |
download | Qt-a2c2c71ecd84e90f72697dfd57544c8d506c78e2.zip Qt-a2c2c71ecd84e90f72697dfd57544c8d506c78e2.tar.gz Qt-a2c2c71ecd84e90f72697dfd57544c8d506c78e2.tar.bz2 |
Merge remote-tracking branch 'qt-mainline/4.8'
Conflicts:
tools/qvfb/qvfbshmem.cpp
Diffstat (limited to 'src/tools')
-rw-r--r-- | src/tools/moc/moc.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/moc/moc.cpp b/src/tools/moc/moc.cpp index 13f57f5..9309db1 100644 --- a/src/tools/moc/moc.cpp +++ b/src/tools/moc/moc.cpp @@ -216,8 +216,8 @@ Type Moc::parseType() QByteArray templ = lexemUntil(RANGLE); for (int i = 0; i < templ.size(); ++i) { type.name += templ.at(i); - if ((templ.at(i) == '<' && i < templ.size()-1 && templ.at(i+1) == ':') - || (templ.at(i) == '>' && i < templ.size()-1 && templ.at(i+1) == '>')) { + if ((templ.at(i) == '<' && i+1 < templ.size() && templ.at(i+1) == ':') + || (templ.at(i) == '>' && i+1 < templ.size() && templ.at(i+1) == '>')) { type.name += ' '; } } |