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

Task-number: QTBUG-19115
This commit is contained in:
David Boddie 2011-05-09 21:08:59 +02:00
parent 0cbcc61ef3
commit 9235701d72

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
{