Details
-
Bug
-
Resolution: Done
-
P2: Important
-
4.7.0
-
None
-
Tested under 64-bit Linux, Qt 4.7.0
-
bdd4a9149789f60974603e1f7621d51378f0a108
Description
I've written a small demo application demonstrating the bug. Calling
insertRows(1, 2) on the QSqlTableModel inserts two rows into the model - as
expected. But calling removeRows(1, 2) right afterwards only removes one of the
previously inserted rows.
I'm either fatally wrong here or this is at least inconsistent with what
QAbstractItemModel defines, if not a bug in QSqlTableModel.