mirror of
https://github.com/86Box/86Box.git
synced 2026-02-22 01:25:33 -07:00
Merge pull request #2326 from Cacodemon345/patch-79
qt: Force the renderer to exit at close time
This commit is contained in:
@@ -524,6 +524,7 @@ void MainWindow::closeEvent(QCloseEvent *event) {
|
||||
ui->stackedWidget->mouse_exit_func();
|
||||
|
||||
ui->stackedWidget->switchRenderer(RendererStack::Renderer::Software);
|
||||
QApplication::processEvents();
|
||||
event->accept();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user