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