mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-09-28 16:05:26 -04:00
QDialog::closeEvent() already calls the reject() function, the override of the former function was actually allowing a first confirmation dialog which once discarded gets re-openned by QDialog::closeEvent(). Removing most of the closeEvent() override code is enough to fix the issue since reject() will be called showing the confirmation dialog.