diff options
author | Michael Goddard <michael.goddard@nokia.com> | 2010-11-02 02:14:03 (GMT) |
---|---|---|
committer | Michael Goddard <michael.goddard@nokia.com> | 2011-02-04 05:41:01 (GMT) |
commit | 9c61e9a40e774fe32b16c133a5cdd6b9d9d29d83 (patch) | |
tree | 081b136915ae1bf29c1567bd5bdca841099860d1 /src/xml/xml.pro | |
parent | accc1acc8632e5b21114600b5bcb92cf74004097 (diff) | |
download | Qt-9c61e9a40e774fe32b16c133a5cdd6b9d9d29d83.zip Qt-9c61e9a40e774fe32b16c133a5cdd6b9d9d29d83.tar.gz Qt-9c61e9a40e774fe32b16c133a5cdd6b9d9d29d83.tar.bz2 |
QSqlTableModel/QSqlQueryModel and insertColumns problem.
After inserting a column, fetching data through QSqlTableModel was
off by one or more, since it passed the indexInQuery through to
QSQM. Also, the headerData would sometimes return a blank string
for an inserted column, and sometimes the column number.
The autotests have been beefed up a little to check insertRows and
insertColumns play nicely.
Change-Id: I7399d4c4d94f958884b67ab9b39b5cf2485d8416
Task-number: QTBUG-12626
Reviewed-by: Charles Yin
Diffstat (limited to 'src/xml/xml.pro')
0 files changed, 0 insertions, 0 deletions