Browse Source

- Update queue when pausing a torrent

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

4
src/bittorrent.cpp

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

Loading…
Cancel
Save