Doc: improvement in if condition about inserting item in list
Task-number: QTBUG-41708 Change-Id: Ibbb115a8ad81f7fba0ce162ae131d4843b19c188 Reviewed-by: Martin Smith <martin.smith@theqtcompany.com>
This commit is contained in:
parent
949ed98b2b
commit
9b23e36bbd
@ -820,8 +820,8 @@ void **QListData::erase(void **xi)
|
||||
|
||||
/*! \fn void QList::insert(int i, const T &value)
|
||||
|
||||
Inserts \a value at index position \a i in the list. If \a i
|
||||
is 0, the value is prepended to the list. If \a i is size(), the
|
||||
Inserts \a value at index position \a i in the list. If \a i <= 0,
|
||||
the value is prepended to the list. If \a i >= size(), the
|
||||
value is appended to the list.
|
||||
|
||||
Example:
|
||||
|
Loading…
x
Reference in New Issue
Block a user