mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-19 23:17:21 -06:00
Shutdownbutton in webui
This commit is contained in:
@@ -595,6 +595,9 @@ void HttpConnection::respondCommand(const QString& command) {
|
||||
QBtSession::instance()->recheckTorrent(m_parser.post("hash"));
|
||||
return;
|
||||
}
|
||||
if (command == "shutdown") {
|
||||
qApp->exit();
|
||||
}
|
||||
}
|
||||
|
||||
void HttpConnection::decreaseTorrentsPriority(const QStringList &hashes) {
|
||||
|
||||
Reference in New Issue
Block a user