mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-24 08:34:08 +00:00
Merge branch 'staged' into dev
This commit is contained in:
commit
7464fe83c0
|
@ -1223,7 +1223,7 @@ void MainWindow::closeEvent( QCloseEvent * ev )
|
|||
translateBox->setPopupEnabled( false );
|
||||
|
||||
#ifdef Q_OS_MACOS
|
||||
if (!event->spontaneous() || !isVisible()) {
|
||||
if (!ev->spontaneous() || !isVisible()) {
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue