- Removed code that is no longer needed

This commit is contained in:
Christophe Dumez 2008-12-27 09:21:09 +00:00
parent 384f3b23ee
commit 1225d16413
3 changed files with 1 additions and 14 deletions

View file

@ -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;