Merge branch 'staged' into dev

This commit is contained in:
yifang 2022-02-18 20:43:24 +08:00
commit 7464fe83c0

View file

@ -1223,7 +1223,7 @@ void MainWindow::closeEvent( QCloseEvent * ev )
translateBox->setPopupEnabled( false ); translateBox->setPopupEnabled( false );
#ifdef Q_OS_MACOS #ifdef Q_OS_MACOS
if (!event->spontaneous() || !isVisible()) { if (!ev->spontaneous() || !isVisible()) {
return; return;
} }
#endif #endif