summaryrefslogtreecommitdiffstats
path: root/src/scripttools/debugging/qscriptdebuggercodeview.cpp
diff options
context:
space:
mode:
authorQt Continuous Integration System <qt-info@nokia.com>2011-09-19 07:39:01 (GMT)
committerQt Continuous Integration System <qt-info@nokia.com>2011-09-19 07:39:01 (GMT)
commitffd632651f0adc2198822e0364d582219fbd08c1 (patch)
treea1a362695e4f7ad92424dc868d7e7db1bd7fd5e2 /src/scripttools/debugging/qscriptdebuggercodeview.cpp
parent294d78ff8af2317b3839c3b774dd692a0c232fb3 (diff)
parent32e2ea24df71f3078b03598360aea76c0ebe1cba (diff)
downloadQt-ffd632651f0adc2198822e0364d582219fbd08c1.zip
Qt-ffd632651f0adc2198822e0364d582219fbd08c1.tar.gz
Qt-ffd632651f0adc2198822e0364d582219fbd08c1.tar.bz2
Merge branch 'master' of git://scm.dev.nokia.troll.no/qt/qt-qml-team
* 'master' of git://scm.dev.nokia.troll.no/qt/qt-qml-team: (229 commits) Debugger: Fix autotest breakage Debugger: Rename qdeclarativedebug* to qdeclarativeenginedebug* Rename QDeclarativeEngineDebugServer to ~Service Debugger: Move QT_DECLARATIVE_DEBUG handling out of qdeclarative.h Disable autotest broken by the change to QCache in 7ab0bed find qt.conf more reliably Generate glyphs in un-transformed coordinate system. Use QT_MAX_CACHED_GLYPH_SIZE in QFontEngineFT Reset trailingSpaces in relayout Prevent QPixmapCache potentially growing indefinitely. Allocate 16-byte aligned memory independent of platform for raster pool. qmake vcxproj generator: fix XML conversion for build events Fix trailing spaces problem by not adding it to QScriptLine.length Fix RTL layout for fonts when non-printable character has an advance Fix regression in tst_qrawfont Fix double click and drag not extending word selection. Split CFLAGS from pkg-config properly Ensure that the proxystyle is used over the style's own functions runonphone: Add a missing space between a message and the file name Perl check for windows configure. ...
Diffstat (limited to 'src/scripttools/debugging/qscriptdebuggercodeview.cpp')
-rw-r--r--src/scripttools/debugging/qscriptdebuggercodeview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scripttools/debugging/qscriptdebuggercodeview.cpp b/src/scripttools/debugging/qscriptdebuggercodeview.cpp
index 7c99723..65fd366 100644
--- a/src/scripttools/debugging/qscriptdebuggercodeview.cpp
+++ b/src/scripttools/debugging/qscriptdebuggercodeview.cpp
@@ -233,7 +233,7 @@ bool QScriptDebuggerCodeView::event(QEvent *e)
return false;
}
int pos2 = linePosition - 1;
- while ((pos2 < contents.size()-1) && isIdentChar(contents.at(pos2+1)))
+ while ((pos2+1 < contents.size()) && isIdentChar(contents.at(pos2+1)))
++pos2;
QString ident = contents.mid(pos, pos2 - pos + 1);