mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-05 20:51:25 -07:00
parent
4a20a1660e
commit
cecbb44a03
3 changed files with 7 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue