From d57062a45a40a8d6758ea61a51d65e28450d172d Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Fri, 26 Dec 2008 22:02:01 +0000 Subject: [PATCH] - Fixed broken action "start All / Pause all" due to latest code changes --- src/GUI.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/GUI.cpp b/src/GUI.cpp index 0a428f19e..42e1deb9f 100644 --- a/src/GUI.cpp +++ b/src/GUI.cpp @@ -1215,6 +1215,7 @@ void GUI::on_actionPause_All_triggered() { QTorrentHandle h = QTorrentHandle(*torrentIT); if(!h.is_valid() || h.is_paused()) continue; change = true; + h.pause(); if(h.is_seed()) { // Update in finished list finishedTorrentTab->pauseTorrent(h.hash()); @@ -1289,6 +1290,7 @@ void GUI::on_actionStart_All_triggered() { QTorrentHandle h = QTorrentHandle(*torrentIT); if(!h.is_valid() || !h.is_paused()) continue; change = true; + h.resume(); if(h.is_seed()) { // Update in finished list finishedTorrentTab->resumeTorrent(h.hash());