- Removed regular tracker scrape code since it is done automatically by libtorrent (it should not have been in GUI class anyway...)

- Moved bittorrent specific code from GUI class to bittorrent class
This commit is contained in:
Christophe Dumez 2009-11-18 12:35:55 +00:00
parent 95469756d1
commit 0bc2e9aeeb
3 changed files with 2 additions and 24 deletions

View file

@ -67,7 +67,6 @@ class GUI : public QMainWindow, private Ui::MainWindow{
// Bittorrent
bittorrent *BTSession;
QTimer *checkConnect;
QTimer *scrapeTimer;
QList<QPair<QTorrentHandle,QString> > unauthenticated_trackers;
// GUI related
QTabWidget *tabs;
@ -153,7 +152,6 @@ class GUI : public QMainWindow, private Ui::MainWindow{
void finishedTorrent(QTorrentHandle& h) const;
//void updateLists(bool force=false);
bool initWebUi(QString username, QString password, int port);
void scrapeTrackers();
// Options slots
void on_actionOptions_triggered();
void optionsSaved();