QSqlTableModel::removeRows(): don't emit extra beforeDelete
authorMark Brand <mabrand@mabrand.nl>
Mon, 6 Feb 2012 16:02:32 +0000 (17:02 +0100)
committerQt by Nokia <qt-info@nokia.com>
Tue, 7 Feb 2012 21:05:51 +0000 (22:05 +0100)
commitf5e1da12f0e7bdeee4db74acc52dfabeb12a4e31
tree9cd38a186e7d07890f3d2b2a558cf4958d28c0de
parent63f634322b2c0f795bd424be9e51953a10c701de
QSqlTableModel::removeRows(): don't emit extra beforeDelete

Qt 5 seems like a welcome opportunity to stop emitting this
spurious beforeDelete signal.

Change-Id: Ib8628343ca9b8fdd85c154a206c7e2bf2c4c9dc1
Reviewed-by: Yunqiao Yin <charles.yin@nokia.com>
dist/changes-5.0.0
src/sql/models/qsqltablemodel.cpp
tests/auto/sql/models/qsqltablemodel/tst_qsqltablemodel.cpp