mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-20 21:33:27 -07:00
Cleaner program exit on Auto-shutdown
This commit is contained in:
parent
dd67e1ee9d
commit
7d07debcb5
1 changed files with 2 additions and 1 deletions
|
@ -2056,7 +2056,8 @@ void Bittorrent::addConsoleMessage(QString msg, QString) {
|
||||||
qDebug("Sending computer shutdown signal");
|
qDebug("Sending computer shutdown signal");
|
||||||
misc::shutdownComputer();
|
misc::shutdownComputer();
|
||||||
qDebug("Exiting the application");
|
qDebug("Exiting the application");
|
||||||
exit(0);
|
qApp->exit();
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue