Make qBittorrent quit on MacOS with main window closed

Fixes the reported bug that you couldn't quit qBittorrent when the main window was closed on MacOS.

Closes #22849.
PR #22931.
This commit is contained in:
Ryu481 2025-06-29 19:56:39 +02:00 committed by Vladimir Golovnev (glassez)
commit 3fca180e98
No known key found for this signature in database
GPG key ID: 52A2C7DEE2DFA6F7

View file

@ -1161,7 +1161,7 @@ void MainWindow::closeEvent(QCloseEvent *e)
if (!m_forceExit)
{
hide();
e->accept();
e->ignore();
return;
}
#else