mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-21 05:43:32 -07: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:
parent
9b29d37d21
commit
3fca180e98
1 changed files with 1 additions and 1 deletions
|
@ -1161,7 +1161,7 @@ void MainWindow::closeEvent(QCloseEvent *e)
|
||||||
if (!m_forceExit)
|
if (!m_forceExit)
|
||||||
{
|
{
|
||||||
hide();
|
hide();
|
||||||
e->accept();
|
e->ignore();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue