--- a/src/MainWindow.cpp Wed Feb 16 22:11:29 2022 +0100 +++ b/src/MainWindow.cpp Thu Feb 17 19:57:32 2022 +0100 @@ -82,14 +82,13 @@ qDebug() << Q_FUNC_INFO; SetupWindow = new Setup(this); QObject::connect(SetupWindow, SIGNAL(firstWindow()), this, SLOT(fromSetup())); - this->hide(); // Close the main window - SetupWindow->show(); // Show a second window + this->hide(); // Close the main window + SetupWindow->show(); // Show a setup window } void MainWindow::on_actionAbout_triggered() { - qDebug() << Q_FUNC_INFO; AboutDialog dialog(this); dialog.setModal(true); dialog.exec();