mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-09 06:17:58 +00:00
- Remove verbose debug info
This commit is contained in:
parent
e35d100769
commit
f04b19ddfa
@ -158,7 +158,6 @@ void HttpConnection::respond()
|
|||||||
}
|
}
|
||||||
if(list.size() > 2) {
|
if(list.size() > 2) {
|
||||||
if(list[1] == "propertiesGeneral") {
|
if(list[1] == "propertiesGeneral") {
|
||||||
qDebug("Web UI Asked for general properties data");
|
|
||||||
QString hash = list[2];
|
QString hash = list[2];
|
||||||
respondGenPropertiesJson(hash);
|
respondGenPropertiesJson(hash);
|
||||||
return;
|
return;
|
||||||
@ -219,10 +218,8 @@ void HttpConnection::respondJson()
|
|||||||
}
|
}
|
||||||
|
|
||||||
void HttpConnection::respondGenPropertiesJson(QString hash) {
|
void HttpConnection::respondGenPropertiesJson(QString hash) {
|
||||||
qDebug("Torrent hash is %s", hash.toLocal8Bit().data());
|
|
||||||
EventManager* manager = parent->eventManager();
|
EventManager* manager = parent->eventManager();
|
||||||
QString string = json::toJson(manager->getPropGeneralInfo(hash));
|
QString string = json::toJson(manager->getPropGeneralInfo(hash));
|
||||||
qDebug("GenProperties JSON is %s", string.toLocal8Bit().data());
|
|
||||||
generator.setStatusLine(200, "OK");
|
generator.setStatusLine(200, "OK");
|
||||||
generator.setContentTypeByExt("js");
|
generator.setContentTypeByExt("js");
|
||||||
generator.setMessage(string);
|
generator.setMessage(string);
|
||||||
|
Loading…
Reference in New Issue
Block a user