BUGFIX: Fixed pause state toggle for paused and checking torrents

This commit is contained in:
Christophe Dumez 2007-08-29 15:04:30 +00:00
parent bd84cb197f
commit 73c247fe10
2 changed files with 3 additions and 0 deletions

View file

@ -150,6 +150,8 @@ bool bittorrent::isPaused(QString hash) const{
qDebug("/!\\ Error: Invalid handle");
return true;
}
if(torrentsToPauseAfterChecking.contains(hash))
return true;
return h.is_paused();
}