mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-22 16:37:21 -06:00
committed by
GitHub
parent
4a20a1660e
commit
cecbb44a03
@@ -234,6 +234,11 @@ namespace
|
||||
}
|
||||
}
|
||||
|
||||
void TorrentsController::countAction()
|
||||
{
|
||||
setResult(QString::number(BitTorrent::Session::instance()->torrents().count()));
|
||||
}
|
||||
|
||||
// Returns all the torrents in JSON format.
|
||||
// The return value is a JSON-formatted list of dictionaries.
|
||||
// The dictionary keys are:
|
||||
|
||||
Reference in New Issue
Block a user