QDataWidgetMapper: micro-optimize handling of the widget map
authorMarc Mutz <marc.mutz@kdab.com>
Sat, 9 Aug 2014 19:20:04 +0000 (21:20 +0200)
committerMarc Mutz <marc.mutz@kdab.com>
Tue, 26 Aug 2014 07:07:12 +0000 (09:07 +0200)
commit1c73a237cebe5ed0fb975cb33133316b278b9c9e
tree7536f0009c212cea8dbdf15e43a2281299f4da82
parent44b9e31a0a003319dc7946f157c890cb3285d55e
QDataWidgetMapper: micro-optimize handling of the widget map

Don't use index-based iteration, but use iterators.

Change-Id: I57c9582aed644fc58ced1a1af940dcd20d11d970
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
src/widgets/itemviews/qdatawidgetmapper.cpp