From 763f063f3930e7180a87087996e99db84a6a2eda Mon Sep 17 00:00:00 2001 From: Mark Brand Date: Wed, 29 Aug 2012 11:00:13 +0200 Subject: documentation: grammar nitpick Cherry-picked from qt5/qtbase 4692432b61b09f010a3a7e57e80b9599686fe438 Reviewed-by: Andy Shaw Reviewed-by: Bill King Change-Id: I1944946b5f17bbf69005d2da30cedff4970f9827 Reviewed-by: Andy Shaw Reviewed-by: Olivier Goffart --- src/sql/models/qsqlquerymodel.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/sql/models/qsqlquerymodel.cpp b/src/sql/models/qsqlquerymodel.cpp index 22932d1..cb5d253 100644 --- a/src/sql/models/qsqlquerymodel.cpp +++ b/src/sql/models/qsqlquerymodel.cpp @@ -136,7 +136,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. @@ -212,8 +212,8 @@ bool QSqlQueryModel::canFetchMore(const QModelIndex &parent) const \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. -- cgit v0.12