Details
-
Bug
-
Resolution: Invalid
-
Not Evaluated
-
None
-
5.12.1
-
None
Description
If I close my window using an action with connection
connect(ui->actionQuit, &QAction::triggered, qApp, &QApplication::quit);
it will trigger a slot connected like this
connect(ui->dockWidget, &QDockWidget::visibilityChanged, this, &MainWindow::dockToggled);
but not like this
connect(ui->dockWidget, SIGNAL(visibilityChanged(bool)), this, SLOT(dockToggled()));
despite the fact they should do the same thing. This causes a crash if dockToggled() uses QMainWindow::saveState().