minor cleanup

This commit is contained in:
digant 2025-01-02 00:42:29 +01:00
commit 293f23e641

View file

@ -405,6 +405,7 @@ void main_window::OnMissingFw()
// So, instead of using Qt::WA_DeleteOnClose attribute, manually delete "mb" by using deleteLater() when the dialog is closed // So, instead of using Qt::WA_DeleteOnClose attribute, manually delete "mb" by using deleteLater() when the dialog is closed
// //
//mb->setAttribute(Qt::WA_DeleteOnClose); //mb->setAttribute(Qt::WA_DeleteOnClose);
connect(mb, &QDialog::finished, this, [mb]() connect(mb, &QDialog::finished, this, [mb]()
{ {
mb->deleteLater(); mb->deleteLater();