From 29e465d2f6d0c6d01263835fe85d8168b3703b48 Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Wed, 17 Nov 2010 17:55:08 +0000 Subject: [PATCH] Fix pause/resume all buttons in the toolbar --- src/mainwindow.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 8b8f4508c..d0e3ec540 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -178,9 +178,9 @@ MainWindow::MainWindow(QWidget *parent, QStringList torrentCmdLine) : QMainWindo // Transfer list slots connect(actionStart, SIGNAL(triggered()), transferList, SLOT(startSelectedTorrents())); - connect(actionStart_All, SIGNAL(triggered()), transferList, SLOT(startAllTorrents())); + connect(actionStart_All, SIGNAL(triggered()), BTSession, SLOT(resumeAllTorrents())); connect(actionPause, SIGNAL(triggered()), transferList, SLOT(pauseSelectedTorrents())); - connect(actionPause_All, SIGNAL(triggered()), transferList, SLOT(pauseAllTorrents())); + connect(actionPause_All, SIGNAL(triggered()), BTSession, SLOT(pauseAllTorrents())); connect(actionDelete, SIGNAL(triggered()), transferList, SLOT(deleteSelectedTorrents())); connect(actionIncreasePriority, SIGNAL(triggered()), transferList, SLOT(increasePrioSelectedTorrents())); connect(actionDecreasePriority, SIGNAL(triggered()), transferList, SLOT(decreasePrioSelectedTorrents()));