diff options
author | Qt Continuous Integration System <qt-info@nokia.com> | 2010-03-05 03:51:20 (GMT) |
---|---|---|
committer | Qt Continuous Integration System <qt-info@nokia.com> | 2010-03-05 03:51:20 (GMT) |
commit | c06a5b4459a50716e4d41183fa9c2fd39d605c3e (patch) | |
tree | 64da64d7b133667adb13f9555069ffe16b38b429 /src/sql | |
parent | 64a6d6dafbf313a9cd1db03045230187c6c547d5 (diff) | |
parent | 3e6a330d2aa6f139347fe29947721368a5186cc3 (diff) | |
download | Qt-c06a5b4459a50716e4d41183fa9c2fd39d605c3e.zip Qt-c06a5b4459a50716e4d41183fa9c2fd39d605c3e.tar.gz Qt-c06a5b4459a50716e4d41183fa9c2fd39d605c3e.tar.bz2 |
Merge branch '4.6' of scm.dev.nokia.troll.no:qt/oslo-staging-2 into 4.6-integration
* '4.6' of scm.dev.nokia.troll.no:qt/oslo-staging-2:
Update documentation with warning about setForwardOnly
Make the star example recreate its path if the VG context is destroyed.
Image drawing in OpenVG was off by 0.5 of a pixel
Diffstat (limited to 'src/sql')
-rw-r--r-- | src/sql/kernel/qsqlquery.cpp | 3 | ||||
-rw-r--r-- | src/sql/kernel/qsqlresult.cpp | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/sql/kernel/qsqlquery.cpp b/src/sql/kernel/qsqlquery.cpp index 430cf1a..f253c82 100644 --- a/src/sql/kernel/qsqlquery.cpp +++ b/src/sql/kernel/qsqlquery.cpp @@ -822,6 +822,9 @@ bool QSqlQuery::isForwardOnly() const scrollable. isForwardOnly() will always return the correct status of the result set. + \note Calling setForwardOnly after execution of the query will result + in unexpected results at best, and crashes at worst. + \sa isForwardOnly(), next(), seek(), QSqlResult::setForwardOnly() */ void QSqlQuery::setForwardOnly(bool forward) diff --git a/src/sql/kernel/qsqlresult.cpp b/src/sql/kernel/qsqlresult.cpp index 0c0c31c..6382b42 100644 --- a/src/sql/kernel/qsqlresult.cpp +++ b/src/sql/kernel/qsqlresult.cpp @@ -564,6 +564,9 @@ bool QSqlResult::isForwardOnly() const scrollable. isForwardOnly() will always return the correct status of the result set. + \note Calling setForwardOnly after execution of the query will result + in unexpected results at best, and crashes at worst. + \sa isForwardOnly(), fetchNext(), QSqlQuery::setForwardOnly() */ void QSqlResult::setForwardOnly(bool forward) |