Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
3.x
-
None
-
ba9ea2b97bdd2329cb479bb7a6aef1bc7cee82d1
Description
The crash seems to be triggered by the following line:
QGraphicsGridLayout *innerLayout = new QGraphicsGridLayout(widget);
You don't have to pass the widget pointer here, (it will be reparented anyway). Changing that line to
QGraphicsGridLayout *innerLayout = new QGraphicsGridLayout;
will make the crash go away. This is recommended to do regardless of the resolution of this bug.