mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-23 00:47:21 -06:00
@@ -236,7 +236,7 @@ namespace
|
|||||||
|
|
||||||
void TorrentsController::countAction()
|
void TorrentsController::countAction()
|
||||||
{
|
{
|
||||||
setResult(QString::number(BitTorrent::Session::instance()->torrents().count()));
|
setResult(QString::number(BitTorrent::Session::instance()->torrentsCount()));
|
||||||
}
|
}
|
||||||
|
|
||||||
// Returns all the torrents in JSON format.
|
// Returns all the torrents in JSON format.
|
||||||
|
|||||||
Reference in New Issue
Block a user