mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-10-22 18:56:08 +03:00
- Update queue when pausing a torrent
This commit is contained in:
parent
48ec57604f
commit
e27b08d970
1 changed files with 4 additions and 0 deletions
|
@ -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…
Reference in a new issue