diff options
author | Mark Brand <mabrand@mabrand.nl> | 2012-02-08 09:38:05 +0100 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-02-08 14:43:18 +0100 |
commit | f5e58a1f69e5d17369198bbf1e7bb8946e3c7b5d (patch) | |
tree | 22c2b23f27c1ced8a84cf152bd9cacb830f113c6 /tests/auto/sql | |
parent | 678d56ccf1e6970c2cfe149b99f080ec1002c89f (diff) |
QSqlTableModel::setData(): submit() instead of updateRowInTable()
Use submit() instead of calling updatRowInTable(). The effect is
exactly the same. Submit() invokes submitAll() which invokes
updateRowInTable(). The cache is purged and select() is called only
on success.
Change-Id: I3de9a3d6acf802ee6594d034a9e261e53637995d
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
Diffstat (limited to 'tests/auto/sql')
0 files changed, 0 insertions, 0 deletions