Do not call setSizePolicy from ctor, it might call a virtual function
authorJan-Arve Sæther <jan-arve.saether@nokia.com>
Tue, 15 Feb 2011 12:40:32 +0000 (13:40 +0100)
committerOlivier Goffart <olivier.goffart@nokia.com>
Tue, 10 May 2011 10:54:47 +0000 (12:54 +0200)
commitb46d7d3b917da6e968acb24d74ffff7d2a68068e
treea02caeab7e92736156846feac27b967cd376aad6
parent2e768aad980ee28a82dadb4bd4d677bb37ef4032
Do not call setSizePolicy from ctor, it might call a virtual function

More specifically, it might very well call updateGeometry()

Reviewed-by: Frederik Gladhorn
(cherry picked from commit febdcef08f22310cbd70ec13b315f70ff8e41e83)
src/gui/graphicsview/qgraphicslayout.cpp