Skip to content

Commit

Permalink
Merge branch 'staged' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoyifang committed Feb 18, 2022
2 parents 53e6fca + 835e376 commit 7464fe8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mainwindow.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7464fe8

Please sign in to comment.