qt5base-lts/tests/auto/sql
Mark Brand 93ed02e3b1 fix QSqlTableModel:revert() for OnFieldChange
revert() should operate in OnFieldChange edit strategy just as
submit() does. The reason in Qt 4 for excluding OnFieldChange
was that there was no opportunity to revert. The model was
refreshed, causing all changes to be lost. In Qt 5 a failed
edit remains in the cache until user action, which could be
to revert.

Change-Id: Ide021c4f83a53834b7ed81f2abfa3aa49317704d
Reviewed-by: Mark Brand <mabrand@mabrand.nl>
2013-02-09 01:39:54 +01:00
..
kernel QSqlError test: Fix isValid()-check for constructed QSqlError. 2013-02-04 14:44:19 +01:00
models fix QSqlTableModel:revert() for OnFieldChange 2013-02-09 01:39:54 +01:00
sql.pro Moved sql autotests into new directory structure 2011-09-06 09:32:15 +02:00