diff options
author | Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com> | 2012-07-12 10:55:04 (GMT) |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-07-13 08:02:33 (GMT) |
commit | ea718a55f119381df25fc9d62126bb76a677ba95 (patch) | |
tree | 24410d26a0a45b880516742bfc04dfb3a67e6b73 /src/sql | |
parent | aca359dcc14a8ed6bcebdf2ba887dc0fc43f6e01 (diff) | |
download | Qt-ea718a55f119381df25fc9d62126bb76a677ba95.zip Qt-ea718a55f119381df25fc9d62126bb76a677ba95.tar.gz Qt-ea718a55f119381df25fc9d62126bb76a677ba95.tar.bz2 |
Fix crash when column is inserted before rowspanned cell
When you're inserting a column in front of a rowspanned cell
and this cell is not the first in the rowspan, we would get
the wrong logical index of the new cell (putting it in
front of the initial cell with the rowspan). If the cell
does not span all rows, the table will get into a broken state
and trigger asserts in update(). To fix this, we search for
the first cell after the insertion point which has a logical
index higher than the cell directly before the insertion point.
Change-Id: Ic6fb66bc25ad91f3534886f964173ead924429e2
Reviewed-by: Simon Hausmann <simon.hausmann@nokia.com>
Diffstat (limited to 'src/sql')
0 files changed, 0 insertions, 0 deletions