Fixes to Web UI shutdown button

This commit is contained in:
Christophe Dumez
2012-08-19 22:15:44 +03:00
parent 0fe09aa088
commit 669d5a12a2
5 changed files with 10 additions and 5 deletions

View File

@@ -596,6 +596,7 @@ void HttpConnection::respondCommand(const QString& command) {
return;
}
if (command == "shutdown") {
qDebug() << "Shutdown request from Web UI";
qApp->exit();
}
}