mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-20 05:13:30 -07:00
Use InfoHash type in queueing operations
This avoids redundant type conversions.
This commit is contained in:
parent
a9e6ef183b
commit
e0a23ba93d
4 changed files with 59 additions and 43 deletions
|
@ -412,10 +412,10 @@ namespace BitTorrent
|
|||
bool cancelLoadMetadata(const InfoHash &hash);
|
||||
|
||||
void recursiveTorrentDownload(const InfoHash &hash);
|
||||
void increaseTorrentsQueuePos(const QStringList &hashes);
|
||||
void decreaseTorrentsQueuePos(const QStringList &hashes);
|
||||
void topTorrentsQueuePos(const QStringList &hashes);
|
||||
void bottomTorrentsQueuePos(const QStringList &hashes);
|
||||
void increaseTorrentsQueuePos(const QVector<InfoHash> &hashes);
|
||||
void decreaseTorrentsQueuePos(const QVector<InfoHash> &hashes);
|
||||
void topTorrentsQueuePos(const QVector<InfoHash> &hashes);
|
||||
void bottomTorrentsQueuePos(const QVector<InfoHash> &hashes);
|
||||
|
||||
// TorrentHandle interface
|
||||
void handleTorrentSaveResumeDataRequested(const TorrentHandle *torrent);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue