QSqlTableModel: do not store primaryValues in change cache
authorMark Brand <mabrand@mabrand.nl>
Fri, 10 Feb 2012 01:36:29 +0000 (02:36 +0100)
committerQt by Nokia <qt-info@nokia.com>
Wed, 15 Feb 2012 01:36:30 +0000 (02:36 +0100)
commit434c46e8dc838cec0d2a2193701c52cc78ba0862
treea58c38341e792fbf0e780532fdfd6c24fbb24a34
parentf805dd0b40c4b99b63e13e6e1bff08a63b76e0dd
QSqlTableModel: do not store primaryValues in change cache

They can be generated on demand regardless of edit strategy.

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