summaryrefslogtreecommitdiffstats
path: root/src/sql/models
diff options
context:
space:
mode:
authorMark Brand <mabrand@mabrand.nl>2012-08-29 11:00:13 +0200
committerQt by Nokia <qt-info@nokia.com>2012-08-29 14:04:09 +0200
commit4692432b61b09f010a3a7e57e80b9599686fe438 (patch)
tree075fff9a8e8bd79e40406a082da9cb1dbcb41b08 /src/sql/models
parente1f617128ca65aa6cb7381ef29deba791417c91e (diff)
documentation: grammar nitpick
Change-Id: Ibf16731f04f2c53adeff1b8b1fcc6f1555e3613d Reviewed-by: Andy Shaw <andy.shaw@digia.com> Reviewed-by: Bill King <bill.king@nokia.com>
Diffstat (limited to 'src/sql/models')
-rw-r--r--src/sql/models/qsqlquerymodel.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sql/models/qsqlquerymodel.cpp b/src/sql/models/qsqlquerymodel.cpp
index 723767344c..5f01881fff 100644
--- a/src/sql/models/qsqlquerymodel.cpp
+++ b/src/sql/models/qsqlquerymodel.cpp
@@ -138,7 +138,7 @@ void QSqlQueryModelPrivate::initColOffsets(int size)
data before showing it to the user, and how to create a
read-write model based on QSqlQueryModel.
- If the database doesn't return the amount of selected rows in
+ If the database doesn't return the number of selected rows in
a query, the model will fetch rows incrementally.
See fetchMore() for more information.
@@ -236,8 +236,8 @@ void QSqlQueryModel::endResetModel()
\since 4.1
If the database supports returning the size of a query
- (see QSqlDriver::hasFeature()), the amount of rows of the current
- query is returned. Otherwise, returns the amount of rows
+ (see QSqlDriver::hasFeature()), the number of rows of the current
+ query is returned. Otherwise, returns the number of rows
currently cached on the client.
\a parent should always be an invalid QModelIndex.