summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorABBAPOH <ABBAPOH@nextmail.ru>2012-06-08 13:43:55 (GMT)
committerQt by Nokia <qt-info@nokia.com>2012-06-15 08:10:57 (GMT)
commitd5897ec7bb10440259a6d5424bd2ac2bdd4e1a74 (patch)
tree87ecc4096ad610c181092c3237e1990bce1bc5c3 /tests
parentf48918b7f32179ab034bdc5157876e230d70ba3e (diff)
downloadQt-d5897ec7bb10440259a6d5424bd2ac2bdd4e1a74.zip
Qt-d5897ec7bb10440259a6d5424bd2ac2bdd4e1a74.tar.gz
Qt-d5897ec7bb10440259a6d5424bd2ac2bdd4e1a74.tar.bz2
AbstractItemView editorForIndex/indexForEditor speedup
Frequent calls to editorForIndex/indexForEditor are very slow because of an implicit conversion from QModelIndex to QPersistentModelIndex. This fix allows to avoid unnecessary conversions when there are no open editors (most common case) Backport of the 1d859ef80540ec3dd64f4f7bda3a8e415965650c commit in qtbase Change-Id: Id4f8c985b824a83019dc8a8543dee69c12004faa Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions