summaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorMark Brand <mabrand@mabrand.nl>2012-03-19 09:21:55 +0100
committerQt by Nokia <qt-info@nokia.com>2012-03-22 16:13:21 +0100
commitf44360923e37f967fa01163b5ddbb6f5c0de8ddb (patch)
tree517d8c47e0caca67504cd013ff2ce034ca932e1a /src/plugins
parentc7b9a60571ace1a555226c33a2dd5afbe6bfbcf4 (diff)
QSqlTM/QSqlRTM: improve style and readability
General changes: const, scope, braces, hash[] for clarity, comment wording and spelling. QSqlRelationalTableModel::selectStatement() readability: Renamed private method. QVector<Class>.value() already defaults to null object value, so there is no point in handling this case explicitly. Alias rec for d->rec added more noise than clarity. Using "tables" list only adds an extra step. Simple concatenation does the trick. Deduplicate code for building table expression and JOIN condition. Change-Id: Ia52afaf3c3937a26595d5ae867982664002562d8 Reviewed-by: Honglei Zhang <honglei.zhang@nokia.com>
Diffstat (limited to 'src/plugins')
0 files changed, 0 insertions, 0 deletions