Prevent infinite loop of closeEvent() in OpenRGBDialog
This commit is contained in:
parent
a83165f112
commit
7c02075ba6
1 changed files with 1 additions and 0 deletions
|
|
@ -623,6 +623,7 @@ void OpenRGBDialog::handleAboutToQuit()
|
|||
}
|
||||
}
|
||||
|
||||
disconnect(qApp, &QCoreApplication::aboutToQuit, this, &OpenRGBDialog::handleAboutToQuit);
|
||||
QCloseEvent* closeEvent = new QCloseEvent;
|
||||
this->closeEvent(closeEvent);
|
||||
delete closeEvent;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue