summaryrefslogtreecommitdiffstats
path: root/src/tools/qdoc/cppcodeparser.cpp
diff options
context:
space:
mode:
authorStephen Kelly <stephen.kelly@kdab.com>2012-09-27 11:22:25 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-09-27 18:35:55 +0200
commitcea7a87d5fe482afa83a8b610b5b39ce83ab27c9 (patch)
tree4aaf577a449a5e29079e870f4325d46902939b40 /src/tools/qdoc/cppcodeparser.cpp
parent978d3d01cfa063017fdce1391b60efb7a4fc8df2 (diff)
Take a QPersistentIndex out of the container instead of casting it.
These indexes are later used as the boundary points of a QItemSelectionRange anyway, which means that they're going to become QPersistentModelIndexes again soon. Because QPersistentModelIndex::row and ::column API are not inline, we cache the resulting values in the loop. Change-Id: Ib5099148269a8ccbb7ff2d8819a347e429c55dd1 Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Diffstat (limited to 'src/tools/qdoc/cppcodeparser.cpp')
0 files changed, 0 insertions, 0 deletions