mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-17 14:08:03 -06:00
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:
@@ -1163,7 +1163,7 @@ void MainWindow::closeEvent(QCloseEvent *e)
|
|||||||
if (!m_forceExit)
|
if (!m_forceExit)
|
||||||
{
|
{
|
||||||
hide();
|
hide();
|
||||||
e->accept();
|
e->ignore();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
|
|||||||
Reference in New Issue
Block a user