diff options
author | Olivier Goffart <ogoffart@trolltech.com> | 2010-03-11 10:08:02 (GMT) |
---|---|---|
committer | Olivier Goffart <ogoffart@trolltech.com> | 2010-03-11 10:08:02 (GMT) |
commit | 8404d073d0a8f02d77888496986cba7c0b1b1739 (patch) | |
tree | 89a5532c96a6625f7c387ab7d655a80066cf613c /src/gui/kernel/qwidget_win.cpp | |
parent | e788b32e7f059b0f85ca5104279c8f2bcbfff526 (diff) | |
download | Qt-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/gui/kernel/qwidget_win.cpp')
0 files changed, 0 insertions, 0 deletions