1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-22 20:44:15 +00:00

Cleaner program exit on Auto-shutdown

This commit is contained in:
Christophe Dumez 2010-08-20 09:35:28 +00:00
parent dd67e1ee9d
commit 7d07debcb5

View File

@ -2056,7 +2056,8 @@ void Bittorrent::addConsoleMessage(QString msg, QString) {
qDebug("Sending computer shutdown signal");
misc::shutdownComputer();
qDebug("Exiting the application");
exit(0);
qApp->exit();
return;
}
}
}