Make sure that setRecord emits dataChanged() with OnManualSubmit.
authorMichael Goddard <michael.goddard@nokia.com>
Wed, 3 Nov 2010 01:58:36 +0000 (11:58 +1000)
committerMichael Goddard <michael.goddard@nokia.com>
Fri, 4 Feb 2011 05:41:02 +0000 (15:41 +1000)
commit3bed865c35d8eb920ba5a68276fdf1690c834a64
treedd733baba6540ab7089b5e2d0e7358b344476546
parent9c61e9a40e774fe32b16c133a5cdd6b9d9d29d83
Make sure that setRecord emits dataChanged() with OnManualSubmit.

Since the change is immediately visible through data(), this is needed
so that QSortFilterProxyModel etc work correctly.

Change-Id: Ied7afce2e6a1f516b502d3501f9d214df54e52f2
Task-number: QTBUG-14831
Reviewed-by: Charles Yin
src/sql/models/qsqltablemodel.cpp
tests/auto/qsqltablemodel/tst_qsqltablemodel.cpp