Doc: Documented the value returned when no field can be found.
Task-number: QTBUG-19115
This commit is contained in:
parent
0cbcc61ef3
commit
9235701d72
@ -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
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user