QString: fix incomplete doc of chop()
Change-Id: I84de848681e793e68e0c290719a7f961aca48f4e Reviewed-by: Edward Welbourne <edward.welbourne@qt.io> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>bb10
parent
deb2728a86
commit
6bafb9da71
|
|
@ -4978,7 +4978,7 @@ void QString::truncate(int pos)
|
|||
Removes \a n characters from the end of the string.
|
||||
|
||||
If \a n is greater than or equal to size(), the result is an
|
||||
empty string.
|
||||
empty string; if \a n is negative, it is equivalent to passing zero.
|
||||
|
||||
Example:
|
||||
\snippet qstring/main.cpp 15
|
||||
|
|
|
|||
Loading…
Reference in New Issue