summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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.