Details
-
Type:
Bug
-
Status: Closed
-
Priority:
P1: Critical
-
Resolution: Done
-
Affects Version/s: 5.7.0
-
Component/s: Widgets: Main Window
-
Labels:None
-
Environment:Linux, gcc.
Description
Calling QMainWindow::takeCentralWidget() when no central widget is set makes the application crash.
It would be better to handle this more gently and return null instead.