867c0b8d8a
child->widget() returns null if the layout item is not a widget. Thus, calling removeWidget(nullptr) will remove all non-widget items such as layouts or strechers. Change-Id: I772c1158d0f7e8e2850b6e571b0405a2896f09b8 Pick-to: 6.0 6.1 5.15 Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io> Reviewed-by: David Faure <david.faure@kdab.com> |
||
---|---|---|
.. | ||
baseline | ||
.gitignore | ||
CMakeLists.txt | ||
testdata.qrc | ||
tst_qlayout.cpp |