From e27b08d970e65b117db5c149d1de4dfbcf851f48 Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Sat, 2 Aug 2008 19:49:37 +0000 Subject: [PATCH] - Update queue when pausing a torrent --- src/bittorrent.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/bittorrent.cpp b/src/bittorrent.cpp index bb46039d5..5582e2d0c 100644 --- a/src/bittorrent.cpp +++ b/src/bittorrent.cpp @@ -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{