mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-25 14:04:23 +00:00
- Update queue when pausing a torrent
This commit is contained in:
parent
48ec57604f
commit
e27b08d970
@ -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…
x
Reference in New Issue
Block a user