diff options
author | Morten Engvoldsen <morten.engvoldsen@nokia.com> | 2009-04-29 15:12:53 (GMT) |
---|---|---|
committer | Morten Engvoldsen <morten.engvoldsen@nokia.com> | 2009-04-29 15:26:42 (GMT) |
commit | e7cf829c91716ceeb878309a29ef452681dedb09 (patch) | |
tree | 1aafce33a4ce24d5c447afaabf8cc5e9e3c07d8c /src/gui | |
parent | d51939831552ef73e8f33365c1ef77322594512c (diff) | |
download | Qt-e7cf829c91716ceeb878309a29ef452681dedb09.zip Qt-e7cf829c91716ceeb878309a29ef452681dedb09.tar.gz Qt-e7cf829c91716ceeb878309a29ef452681dedb09.tar.bz2 |
Corrected description of the QLayout::takeAt() function
An item is not deleted when removed from the index. The remaining items get a new index. I changed deleted to removed.
Tasknumber: 252547
Rev-by: janarve
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/kernel/qlayout.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/kernel/qlayout.cpp b/src/gui/kernel/qlayout.cpp index aa46249..1d5a70d 100644 --- a/src/gui/kernel/qlayout.cpp +++ b/src/gui/kernel/qlayout.cpp @@ -1239,7 +1239,7 @@ bool QLayout::activate() Must be implemented in subclasses to remove the layout item at \a index from the layout, and return the item. If there is no such item, the function must do nothing and return 0. Items are numbered - consecutively from 0. If an item is deleted, other items will be + consecutively from 0. If an item is removed, other items will be renumbered. The following code fragment shows a safe way to remove all items |