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 GitHub
parent ef4957a9f4
commit 5028f68d48

View File

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