mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 14:38:04 -06:00
- 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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user