QSqlTableModel::insertRecord(): correct documentation
authorMark Brand <mabrand@mabrand.nl>
Tue, 7 Feb 2012 23:40:51 +0000 (00:40 +0100)
committerQt by Nokia <qt-info@nokia.com>
Thu, 9 Feb 2012 09:45:38 +0000 (10:45 +0100)
Change-Id: I35680f842a650493cf530c0b74894e2b45aa3c6e
Reviewed-by: Yunqiao Yin <charles.yin@nokia.com>
src/sql/models/qsqltablemodel.cpp

index 437712d..dd46296 100644 (file)
@@ -1062,11 +1062,11 @@ bool QSqlTableModel::insertRows(int row, int count, const QModelIndex &parent)
 }
 
 /*!
-    Inserts the \a record after \a row. If \a row is negative, the
-    record will be appended to the end. Calls insertRows() and
+    Inserts the \a record at position \a row. If \a row is negative,
+    the record will be appended to the end. Calls insertRows() and
     setRecord() internally.
 
-    Returns true if the row could be inserted, otherwise false.
+    Returns true if the record could be inserted, otherwise false.
 
     \sa insertRows(), removeRows()
 */