mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-15 01:33:07 -07:00
- Removed code that is no longer needed
This commit is contained in:
parent
384f3b23ee
commit
1225d16413
3 changed files with 1 additions and 14 deletions
|
@ -164,12 +164,6 @@ void bittorrent::decreaseDlTorrentPriority(QString hash) {
|
|||
h.queue_position_down();
|
||||
}
|
||||
|
||||
bool bittorrent::isTorrentQueued(QString hash) const {
|
||||
Q_ASSERT(queueingEnabled);
|
||||
QTorrentHandle h = getTorrentHandle(hash);
|
||||
return h.is_queued();
|
||||
}
|
||||
|
||||
void bittorrent::setUploadLimit(QString hash, long val) {
|
||||
qDebug("Set upload limit rate to %ld", val);
|
||||
QTorrentHandle h = getTorrentHandle(hash);
|
||||
|
@ -304,10 +298,6 @@ void bittorrent::deleteTorrent(QString hash, bool permanent) {
|
|||
emit deletedTorrent(hash);
|
||||
}
|
||||
|
||||
bool bittorrent::isFinished(QString hash) const {
|
||||
return getTorrentHandle(hash).is_seed();
|
||||
}
|
||||
|
||||
// Pause a running torrent
|
||||
bool bittorrent::pauseTorrent(QString hash) {
|
||||
bool change = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue