mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-12-27 18:28:18 +03:00
parent
43300d97e2
commit
59d968e116
1 changed files with 1 additions and 1 deletions
|
@ -234,7 +234,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.
|
||||||
|
|
Loading…
Reference in a new issue