diff options
author | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2020-08-08 02:14:50 +0200 |
---|---|---|
committer | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2020-08-10 11:56:54 +0200 |
commit | 7e7796fb006e616537a31112438232c124e8ce35 (patch) | |
tree | 39e76346b09b5d087cc5407e85b872e73b96c80a /src | |
parent | 177f040c6c79571eadaf51c3e4ad90ae7b023b0d (diff) |
QLayout: minor tidy in the docs
Change-Id: Ifc2aa62a9c9480c85cc36f60941411e920066db8
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Diffstat (limited to 'src')
-rw-r--r-- | src/widgets/kernel/qlayout.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widgets/kernel/qlayout.cpp b/src/widgets/kernel/qlayout.cpp index 300dded3a4..bbc7e793c4 100644 --- a/src/widgets/kernel/qlayout.cpp +++ b/src/widgets/kernel/qlayout.cpp @@ -1134,7 +1134,7 @@ QLayoutItem *QLayout::replaceWidget(QWidget *from, QWidget *to, Qt::FindChildOpt \fn QLayoutItem *QLayout::itemAt(int index) const Must be implemented in subclasses to return the layout item at \a - index. If there is no such item, the function must return 0. + index. If there is no such item, the function must return \nullptr. Items are numbered consecutively from 0. If an item is deleted, other items will be renumbered. This function can be used to iterate over a layout. The following |