mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-05 20:51:25 -07:00
Make qBittorrent quit on MacOS with main window closed
Some checks failed
CI - File health / Check (push) Has been cancelled
CI - macOS / Build (push) Has been cancelled
CI - Python / Check (push) Has been cancelled
CI - Ubuntu / Build (push) Has been cancelled
CI - WebUI / Check (push) Has been cancelled
CI - Windows / Build (push) Has been cancelled
Some checks failed
CI - File health / Check (push) Has been cancelled
CI - macOS / Build (push) Has been cancelled
CI - Python / Check (push) Has been cancelled
CI - Ubuntu / Build (push) Has been cancelled
CI - WebUI / Check (push) Has been cancelled
CI - Windows / Build (push) Has been cancelled
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
ef4957a9f4
commit
5028f68d48
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue