QSqlTM: use generated flag more correctly in setRecord()/insertRecord()
authorMark Brand <mabrand@mabrand.nl>
Wed, 11 Jul 2012 07:52:14 +0000 (09:52 +0200)
committerQt by Nokia <qt-info@nokia.com>
Tue, 17 Jul 2012 06:13:30 +0000 (08:13 +0200)
commit76880aa2c43946103c4ad2babe45eb71e1ab4f74
tree393b844d4222eda39a075c02a1a51bdadae8d275
parent87ff2c830d32bf26f8540689dd38fba59b18d688
QSqlTM: use generated flag more correctly in setRecord()/insertRecord()

The generated flag should affect the generation of SQL commands rather
than how the fields of the source record are applied to the model before
submitting. This correction allows setRecord() to be used to change TRUE
generated flags to FALSE.

Clarified documentation on this point and updated change log.

Change-Id: I7ee124930822561ed8beee6c6259970b3e929c9b
Reviewed-by: Michael Goddard <michael.goddard@nokia.com>
dist/changes-5.0.0
src/sql/models/qsqltablemodel.cpp