summaryrefslogtreecommitdiffstats
path: root/src/corelib
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@trolltech.com>2010-03-11 10:08:02 (GMT)
committerOlivier Goffart <ogoffart@trolltech.com>2010-03-11 10:08:02 (GMT)
commit8404d073d0a8f02d77888496986cba7c0b1b1739 (patch)
tree89a5532c96a6625f7c387ab7d655a80066cf613c /src/corelib
parente788b32e7f059b0f85ca5104279c8f2bcbfff526 (diff)
downloadQt-8404d073d0a8f02d77888496986cba7c0b1b1739.zip
Qt-8404d073d0a8f02d77888496986cba7c0b1b1739.tar.gz
Qt-8404d073d0a8f02d77888496986cba7c0b1b1739.tar.bz2
QTreeView: Optimize by avoiding calling detach
QVector::operator[] calls detach. and we should avoid calling it in a loop. QVector::at() cannot be used here because we need a non const reference. Reviewed-by: Gabriel
Diffstat (limited to 'src/corelib')
0 files changed, 0 insertions, 0 deletions