[Qt-interest] removeRow on a derived QSqlTableModel does nothing.
MARTIN Pierre
hickscorp at gmail.com
Wed Sep 28 02:41:28 CEST 2011
Bumpidy bump... Anyone with a solution or a similar issue so i fill up a bug report?
> Hello list users,
>
> i'm trying to understand something. i have derived from QSqlTableModel and am using Sqlite for something very simple.
> i'm able to insert and update (Via QDataWidgetMappers). However, deletion doesnt work as expected: sometimes it does, and sometimes it just doesn't delete anything.
> i have tried using manual submit and submitting myself after removeRow(), and i have also tried using automatic submission... The result is the same, i get a very vague error in the lastError object:
> Failed to delete rows: "Parameter count mismatch"
>
> Is there anyone who had the same issue? i know there were 2 bugs in Qt 4.4.something but i'm using 4.7.3 now...
>
> Thanks,
> Pierre.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110928/ca257277/attachment.html
More information about the Qt-interest-old
mailing list