From 7e7796fb006e616537a31112438232c124e8ce35 Mon Sep 17 00:00:00 2001 From: Giuseppe D'Angelo Date: Sat, 8 Aug 2020 02:14:50 +0200 Subject: [PATCH] QLayout: minor tidy in the docs Change-Id: Ifc2aa62a9c9480c85cc36f60941411e920066db8 Reviewed-by: Leena Miettinen --- src/widgets/kernel/qlayout.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/widgets/kernel/qlayout.cpp b/src/widgets/kernel/qlayout.cpp index 300dded3a40..bbc7e793c4e 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