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:
parent
dd67e1ee9d
commit
7d07debcb5
@ -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…
x
Reference in New Issue
Block a user