path: root/dist
diff options
authorMark Brand <>2012-02-08 00:16:46 +0100
committerQt by Nokia <>2012-02-09 10:45:38 +0100
commita58e630b61c19eac8f0c0d931825b42eeb7ea16b (patch)
tree04da05c0118ab44d125c723ec56b2a0adfe4e890 /dist
parent40afbf3deb4a0d8823a3307286a35bd046c44e01 (diff)
QSqlTableModel::setRecord(): improve handling of field mapping
-Only use fields where generated flag is set to true. -Require all fields to map correctly. If fields don't map, that is a sign of a programming or user error. Change-Id: Ie8474393005de6c9926b4e46985d62b194eafde2 Reviewed-by: Yunqiao Yin <>
Diffstat (limited to 'dist')
1 files changed, 5 insertions, 0 deletions
diff --git a/dist/changes-5.0.0 b/dist/changes-5.0.0
index d2e8dde9de..996bdf4b0b 100644
--- a/dist/changes-5.0.0
+++ b/dist/changes-5.0.0
@@ -350,6 +350,11 @@ model methods setData() or setRecord().
before doing anything. Previously, it would remove what it could and
ignore the rest of the range.
+* setRecord() and insertRecord()
+ -Only use fields where generated flag is set to true. This is
+ is consistent with the meaning of the flag.
+ -Require all fields to map correctly. Previously fields that didn't
+ map were simply ignored.
* Database Drivers *