mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-15 09:43:07 -07:00
- Removed some useless debug
- Increased httpserver update interval
This commit is contained in:
parent
368c122dce
commit
a73d3132df
3 changed files with 6 additions and 9 deletions
|
@ -76,7 +76,6 @@ void HttpServer::newHttpConnection()
|
|||
|
||||
void HttpServer::onTimer()
|
||||
{
|
||||
qDebug("EventManager Timer Start");
|
||||
QStringList list = BTSession->getUnfinishedTorrents();
|
||||
foreach(QString hash, list) {
|
||||
QTorrentHandle h = BTSession->getTorrentHandle(hash);
|
||||
|
@ -86,8 +85,7 @@ void HttpServer::onTimer()
|
|||
foreach(QString hash, list) {
|
||||
QTorrentHandle h = BTSession->getTorrentHandle(hash);
|
||||
if(h.is_valid()) manager->modifiedTorrent(h);
|
||||
}
|
||||
qDebug("EventManager Timer Stop");
|
||||
}
|
||||
}
|
||||
|
||||
void HttpServer::setAuthorization(QString username, QString password)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue