Browse Source

- Removed a function that is no longer used

adaptive-webui-19844
Christophe Dumez 16 years ago
parent
commit
f1ed7f06b9
  1. 7
      src/GUI.cpp
  2. 1
      src/GUI.h

7
src/GUI.cpp

@ -1291,13 +1291,6 @@ void GUI::on_actionPause_triggered() { @@ -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;

1
src/GUI.h

@ -164,7 +164,6 @@ class GUI : public QMainWindow, private Ui::MainWindow{ @@ -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

Loading…
Cancel
Save