Fix some removeRows issues with QSqlTableModel.
authorMichael Goddard <michael.goddard@nokia.com>
Wed, 17 Nov 2010 07:30:40 +0000 (17:30 +1000)
committerMichael Goddard <michael.goddard@nokia.com>
Fri, 4 Feb 2011 05:41:03 +0000 (15:41 +1000)
commitbdd4a9149789f60974603e1f7621d51378f0a108
tree4fea7c7337799c5df11e7273a7ee04125bf3fd26
parent594e46bdd36d2964c20cbc5a8de32abd5e343f43
Fix some removeRows issues with QSqlTableModel.

Added some better unit testing around the problem areas.

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