mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-20 07:27:22 -06:00
- Removed code that is no longer needed
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user