diff --git a/qt/OpenRGBDialog/OpenRGBDialog.cpp b/qt/OpenRGBDialog/OpenRGBDialog.cpp index 3d4d565f..12859ac7 100644 --- a/qt/OpenRGBDialog/OpenRGBDialog.cpp +++ b/qt/OpenRGBDialog/OpenRGBDialog.cpp @@ -623,6 +623,7 @@ void OpenRGBDialog::handleAboutToQuit() } } + disconnect(qApp, &QCoreApplication::aboutToQuit, this, &OpenRGBDialog::handleAboutToQuit); QCloseEvent* closeEvent = new QCloseEvent; this->closeEvent(closeEvent); delete closeEvent;