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