Remove a boolean trap in QLayout::replaceWidget
authorGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>
Fri, 8 Nov 2013 12:22:36 +0000 (13:22 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Sun, 10 Nov 2013 13:09:55 +0000 (14:09 +0100)
commit8462a6933c843eeed2d94d83d4b10f7c946a5475
treea01876a5b5fd588a6382aa93677afe539baf2eff
parent9af6fd5d8a2d142742ad690286f50c7aac34908c
Remove a boolean trap in QLayout::replaceWidget

Use some flags instead.

Task-number: QTBUG-34668
Change-Id: I9a75253c8eb98164c594bb6bb06c1a16c9609537
Reviewed-by: Thorbjørn Lund Martsum <tmartsum@gmail.com>
Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
src/widgets/kernel/qlayout.cpp
src/widgets/kernel/qlayout.h