From f1ed7f06b959356d57075399831adb884fa3d3e2 Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Mon, 29 Dec 2008 18:40:10 +0000 Subject: [PATCH] - Removed a function that is no longer used --- src/GUI.cpp | 7 ------- src/GUI.h | 1 - 2 files changed, 8 deletions(-) diff --git a/src/GUI.cpp b/src/GUI.cpp index efe018667..0072b1af9 100644 --- a/src/GUI.cpp +++ b/src/GUI.cpp @@ -1291,13 +1291,6 @@ void GUI::on_actionPause_triggered() { } } -void GUI::pauseTorrent(QString hash) { - downloadingTorrentTab->pauseTorrent(hash); - finishedTorrentTab->pauseTorrent(hash); - updateUnfinishedTorrentNumber(downloadingTorrentTab->getNbTorrentsInList()); - updateFinishedTorrentNumber(finishedTorrentTab->getNbTorrentsInList()); -} - // Resume All Downloads in DL list void GUI::on_actionStart_All_triggered() { bool change = false; diff --git a/src/GUI.h b/src/GUI.h index a30a7a063..44db357d3 100644 --- a/src/GUI.h +++ b/src/GUI.h @@ -164,7 +164,6 @@ class GUI : public QMainWindow, private Ui::MainWindow{ void resumedTorrent(QTorrentHandle& h) const; void updateLists(bool force=false); bool initWebUi(QString username, QString password, int port); - void pauseTorrent(QString hash); void on_actionIncreasePriority_triggered(); void on_actionDecreasePriority_triggered(); // Options slots