[QTBUG-27420] Make Q{Box,Grid,Form}Layout::takeAt() unparent a nested layout
authorMarc Mutz <marc.mutz@kdab.com>
Sun, 21 Oct 2012 18:10:22 +0000 (20:10 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Sat, 1 Dec 2012 23:23:14 +0000 (00:23 +0100)
commit716d33d2a73ade42eb31be3e8ecbaeecdd5ddd21
treef5e97e43c917bf64ec456aa86d32a4e91edbe3b3
parent1211b956de5ef63cfe65e9cb0c49a42d52c0a3d9
[QTBUG-27420] Make Q{Box,Grid,Form}Layout::takeAt() unparent a nested layout

QStackedLayout doesn't have support for QLayout, only QWidget, so
the issue doesn't arise there.

Reported-by: Johannes Schaub
Task-number: QTBUG-27420

Change-Id: I71f8d10a036918c16d8f8c9197a2ec61cd76cf01
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
src/widgets/kernel/qboxlayout.cpp
src/widgets/kernel/qformlayout.cpp
src/widgets/kernel/qgridlayout.cpp
tests/auto/widgets/kernel/qboxlayout/tst_qboxlayout.cpp
tests/auto/widgets/kernel/qformlayout/tst_qformlayout.cpp
tests/auto/widgets/kernel/qgridlayout/tst_qgridlayout.cpp