Speedup for QAbstractItemViewPrivate::delegateForIndex
authorABBAPOH <ABBAPOH@nextmail.ru>
Thu, 14 Jun 2012 08:49:51 +0000 (12:49 +0400)
committerQt by Nokia <qt-info@nokia.com>
Thu, 14 Jun 2012 14:00:05 +0000 (16:00 +0200)
commited776e367099754af6436f07d72352e6b73124da
tree6de44cd9b4113a3798903bd099be0a7457dbff5d
parent606c21526aa4183946076e7784eea14b563a03f6
Speedup for QAbstractItemViewPrivate::delegateForIndex

This fix prevents copying of a QPointer on a stack and adding/removing
QMetaObject guards

Change-Id: I844c10cede1536a14ad7cd9f007470966619d6d6
Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
src/widgets/itemviews/qabstractitemview_p.h