summaryrefslogtreecommitdiff
path: root/doc/src/snippets/code
diff options
context:
space:
mode:
authorMark Brand <mabrand@mabrand.nl>2012-02-13 09:26:21 +0100
committerQt by Nokia <qt-info@nokia.com>2012-02-15 02:36:38 +0100
commit76fa96b99e9ee79d0a2016fb28f17bc2dc58ab0a (patch)
treefa105b124cd08e5c09f8c71fdbed2e4637bdbf29 /doc/src/snippets/code
parent7bced2878047840bb9bca58289fa1aa4119f034a (diff)
downloadqtbase-76fa96b99e9ee79d0a2016fb28f17bc2dc58ab0a.tar.gz
QSqlRelationalTableModelPrivate: simplify field name translation
It's not appropriate to use indexInQuery() here. First of all, the row might be an inserted row, and thus not be in the query. The intent was probably to get the column position in the query, but this is certainly not row dependent. Furthermore, if there are inserted or removed columns, these are managed within QSqlQueryModel. Change-Id: I89668655b263747a5b849136404112e911722b3d Reviewed-by: Yunqiao Yin <charles.yin@nokia.com>
Diffstat (limited to 'doc/src/snippets/code')
0 files changed, 0 insertions, 0 deletions