Prevent infinite loop of closeEvent() in OpenRGBDialog

This commit is contained in:
Joseph E 2025-06-27 03:45:10 +00:00 committed by Adam Honse
parent a83165f112
commit 7c02075ba6

View file

@ -623,6 +623,7 @@ void OpenRGBDialog::handleAboutToQuit()
}
}
disconnect(qApp, &QCoreApplication::aboutToQuit, this, &OpenRGBDialog::handleAboutToQuit);
QCloseEvent* closeEvent = new QCloseEvent;
this->closeEvent(closeEvent);
delete closeEvent;