Skip to content

Commit

Permalink
fix: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoyifang committed Feb 18, 2022
1 parent cc9b648 commit 835e376
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 835e376

Please sign in to comment.