Clarify QString::clear()
QString::clear() sets the string to the null QString, not just an empty one. Change-Id: Ie6f070f9f2e464105a7b87376e6dad90b5e4d2f2 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>bb10
parent
8d2d4255c6
commit
fc3402ca82
|
|
@ -1692,9 +1692,9 @@ void QString::expand(int i)
|
|||
|
||||
/*! \fn void QString::clear()
|
||||
|
||||
Clears the contents of the string and makes it empty.
|
||||
Clears the contents of the string and makes it null.
|
||||
|
||||
\sa resize(), isEmpty()
|
||||
\sa resize(), isNull()
|
||||
*/
|
||||
|
||||
/*! \fn QString &QString::operator=(const QString &other)
|
||||
|
|
|
|||
Loading…
Reference in New Issue