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
Allan Sandfeld Jensen 2014-11-25 14:33:49 +01:00 committed by Allan Sandfeld Jensen
parent 8d2d4255c6
commit fc3402ca82
1 changed files with 2 additions and 2 deletions

View File

@ -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)