reduce cost of checking cache for data() and headerData()
authorMark Brand <mabrand@mabrand.nl>
Tue, 5 Jul 2011 15:27:54 +0000 (17:27 +0200)
committerQt by Nokia <qt-info@nokia.com>
Sun, 5 Feb 2012 16:50:44 +0000 (17:50 +0100)
commit60f24ec608fc784731a18b43fa59b82ad41f9478
treee0cabbe03c155be607ab3642e2a323bbd9de28f7
parente5c8927fe87d0b0d91ac905ec2e57a4ea6f278ec
reduce cost of checking cache for data() and headerData()

Assume requested row is usually not cached.

Change-Id: I7727b431cc3841528aa6390400b93b1218773e65
Reviewed-by: Yunqiao Yin <charles.yin@nokia.com>
src/sql/models/qsqltablemodel.cpp