mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-20 07:27:22 -06:00
Merge pull request #16587 from jagannatharjun/tracker-filter
Optimize torrent filters in GUI
This commit is contained in:
@@ -2090,6 +2090,11 @@ QVector<Torrent *> Session::torrents() const
|
||||
return result;
|
||||
}
|
||||
|
||||
qsizetype Session::torrentsCount() const
|
||||
{
|
||||
return m_torrents.size();
|
||||
}
|
||||
|
||||
bool Session::addTorrent(const QString &source, const AddTorrentParams ¶ms)
|
||||
{
|
||||
// `source`: .torrent file path/url or magnet uri
|
||||
|
||||
Reference in New Issue
Block a user