Shutdownbutton in webui

This commit is contained in:
Nikolas Garofil
2012-08-19 19:25:21 +02:00
parent e664047c5a
commit 2b02ec3a4e
3 changed files with 11 additions and 0 deletions

View File

@@ -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) {