From 68cee5258b3db95aaf98c456a257863a2ef7ba14 Mon Sep 17 00:00:00 2001 From: Mark Brand Date: Wed, 8 Feb 2012 00:45:47 +0100 Subject: QSqlTableModel::insertRecord(): clean up after failed setRecord() Change-Id: Ic9f314144bd3ccf4b59b9cb3f0d79f8d6f97a824 Reviewed-by: Yunqiao Yin --- dist/changes-5.0.0 | 2 ++ 1 file changed, 2 insertions(+) (limited to 'dist') diff --git a/dist/changes-5.0.0 b/dist/changes-5.0.0 index 996bdf4b0b..7726843ccb 100644 --- a/dist/changes-5.0.0 +++ b/dist/changes-5.0.0 @@ -355,6 +355,8 @@ ignore the rest of the range. is consistent with the meaning of the flag. -Require all fields to map correctly. Previously fields that didn't map were simply ignored. + -For OnManualSubmit, insertRecord() no longer leaves behind an empty + row if setRecord() fails. **************************************************************************** * Database Drivers * -- cgit v1.2.3