You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* If the stuff below is allocated on the stack, its destructor tries to destroy an already-null MainWindow (which has deleted itself due to going out of scope),
* causing a crash on exit.
* Therefore, heap for all.
*/
QGoodWindow* gw = new QGoodWindow(nullptr);
MainWindow* w = new MainWindow();
QGoodCentralWidget* gcw = new QGoodCentralWidget(gw);