Prevent a crash in QLayout::replaceWidget
authorGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>
Fri, 8 Nov 2013 12:03:22 +0000 (13:03 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Fri, 8 Nov 2013 13:18:14 +0000 (14:18 +0100)
commit2d1bb6d61d5c26a11b65eda5f9625894b794391f
treeb46030854ffd1c1c1d3c2c934ea40180bcae8917
parentc934ea341e0749aef9c927ca3def68976bdc976f
Prevent a crash in QLayout::replaceWidget

Item might be null.

Change-Id: Ia432a35cb1a6bb02ee056ff8ad44a9f35bdbc146
Reviewed-by: Thorbjørn Lund Martsum <tmartsum@gmail.com>
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
src/widgets/kernel/qlayout.cpp