summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/code/src_sql_models_qsqlquerymodel.cpp
diff options
context:
space:
mode:
authorThierry Bastian <thierry.bastian@nokia.com>2009-05-06 11:54:57 (GMT)
committerThierry Bastian <thierry.bastian@nokia.com>2009-05-06 11:57:40 (GMT)
commit8cd19116ae81c99fe28fbf91aa7f4c1c08163fe0 (patch)
tree23e66cc7f17e94d6bfc02039075745ce5e15c955 /doc/src/snippets/code/src_sql_models_qsqlquerymodel.cpp
parente13aab33bc1aa68bcf5a18e2d77b2db7f9f44e1e (diff)
downloadQt-8cd19116ae81c99fe28fbf91aa7f4c1c08163fe0.zip
Qt-8cd19116ae81c99fe28fbf91aa7f4c1c08163fe0.tar.gz
Qt-8cd19116ae81c99fe28fbf91aa7f4c1c08163fe0.tar.bz2
QTreeView could be not correctly updated when the 1st column is hidden.
The problem was that we were not always storing the modelindex in column 0 for each QTreeViewItem. That was causing inconsistencies. Now it is always the case. It allowed to remove some calls to QModelIndex::sibling. Task-number: 239271 Reviewed-by: ogoffart
Diffstat (limited to 'doc/src/snippets/code/src_sql_models_qsqlquerymodel.cpp')
0 files changed, 0 insertions, 0 deletions