mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-12 16:23:07 -07:00
- Should fix logout cancelation on KDE
This commit is contained in:
parent
9a02c12ec9
commit
7db2ffc09f
1 changed files with 2 additions and 1 deletions
|
@ -670,7 +670,8 @@ void GUI::closeEvent(QCloseEvent *e) {
|
|||
bool goToSystrayOnExit = settings.value(QString::fromUtf8("Preferences/General/CloseToTray"), false).toBool();
|
||||
if(!force_exit && systrayIntegration && goToSystrayOnExit && !this->isHidden()) {
|
||||
hide();
|
||||
e->ignore();
|
||||
//e->ignore();
|
||||
e->accept();
|
||||
return;
|
||||
}
|
||||
if(settings.value(QString::fromUtf8("Preferences/General/ExitConfirm"), true).toBool() && downloadingTorrentTab->getNbTorrentsInList()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue