diff options
author | Andy Shaw <andy.shaw@digia.com> | 2011-06-03 06:17:40 (GMT) |
---|---|---|
committer | Charles Yin <charles.yin@nokia.com> | 2011-07-26 23:25:30 (GMT) |
commit | 2c60a4f67f9fb02f3b711fe749b2f293a07b4e02 (patch) | |
tree | 9f3899b1723c3daa0ed2d947f212e2996d0e091d /src/corelib/global | |
parent | e2e62bc810d21fecc9ed1d1db486b529b760d292 (diff) | |
download | Qt-2c60a4f67f9fb02f3b711fe749b2f293a07b4e02.zip Qt-2c60a4f67f9fb02f3b711fe749b2f293a07b4e02.tar.gz Qt-2c60a4f67f9fb02f3b711fe749b2f293a07b4e02.tar.bz2 |
Make it possible to update a related table after an external update
When a table that is related to in a QSqlRelationalTableModel gets
updated in some way (e.g. a new row, or the data is changed) then the
related model could not be updated without recreating the
QSqlRelationalTableModel.
Now, to get around this, select() can be called on the related model to
get it to be updated.
Task-number: QTBUG-7885
Reviewed-by: Charles Yin
Reviewed-by: Michael Goddard
Change-Id: Ic589e840234f3a809bcb112a807a87afe0bc25ca
Diffstat (limited to 'src/corelib/global')
0 files changed, 0 insertions, 0 deletions