diff --git a/src/bittorrent.cpp b/src/bittorrent.cpp index f6dd23067..db9b2c3ca 100644 --- a/src/bittorrent.cpp +++ b/src/bittorrent.cpp @@ -771,7 +771,8 @@ void bittorrent::setUploadRateLimit(int rate){ // This function will apply to same ratio to all torrents void bittorrent::setGlobalRatio(float ratio){ std::vector handles = s->get_torrents(); - for(unsigned int i=0; i bittorrent::getTorrentHandles() const{ return s->get_torrents(); } -// Return a vector with all finished torrent handles in it -QList bittorrent::getFinishedTorrentHandles() const{ - QList finished; - std::vector handles; - for(unsigned int i=0; i getFinishedTorrentHandles() const; session_status getSessionStatus() const; int getListenPort() const; QStringList getTorrentsToPauseAfterChecking() const; diff --git a/src/properties_imp.cpp b/src/properties_imp.cpp index 75cad02e7..abe9876b8 100644 --- a/src/properties_imp.cpp +++ b/src/properties_imp.cpp @@ -466,7 +466,6 @@ void properties::updateInfos(){ // torrent was removed, closing properties close(); } - loadTrackersErrors(); // Update current tracker torrent_status torrentStatus = h.status(); QString tracker = QString(torrentStatus.current_tracker.c_str()).trimmed();