Browse Source

- Update queue when pausing a torrent

adaptive-webui-19844
Christophe Dumez 17 years ago
parent
commit
e27b08d970
  1. 4
      src/bittorrent.cpp

4
src/bittorrent.cpp

@ -761,6 +761,10 @@ bool bittorrent::pauseTorrent(QString hash) { @@ -761,6 +761,10 @@ bool bittorrent::pauseTorrent(QString hash) {
change = true;
// Save fast resume data
saveFastResumeAndRatioData(hash);
if(queueingEnabled) {
updateDownloadQueue();
updateUploadQueue();
}
qDebug("Torrent paused successfully");
emit pausedTorrent(hash);
}else{

Loading…
Cancel
Save