Doc: Documented the value returned when no field can be found.

Task-number: QTBUG-19115
bb10
David Boddie 2011-05-09 21:08:59 +02:00
parent 0cbcc61ef3
commit 9235701d72
1 changed files with 2 additions and 1 deletions

View File

@ -1006,7 +1006,8 @@ QString QSqlTableModel::orderByClause() const
}
/*!
Returns the index of the field \a fieldName.
Returns the index of the field \a fieldName, or -1 if no corresponding field
exists in the model.
*/
int QSqlTableModel::fieldIndex(const QString &fieldName) const
{