diff --git a/Changelog b/Changelog index f56936d8c..b664f2a67 100644 --- a/Changelog +++ b/Changelog @@ -1,6 +1,7 @@ *Unreleased - Christophe Dumez - v2.4.5 - BUGFIX: Remember torrent completion date correctly - BUGFIX: Fix feature to keep incomplete torrents in a separate folder + - BUGFIX: Fix display of URL seeds in the UI * Fri Oct 1 2010 - Christophe Dumez - v2.4.4 - BUGFIX: Clean program exit on system shutdown/logout diff --git a/src/qtorrenthandle.cpp b/src/qtorrenthandle.cpp index 1c149d5ed..27e56d2ab 100644 --- a/src/qtorrenthandle.cpp +++ b/src/qtorrenthandle.cpp @@ -241,11 +241,11 @@ QStringList QTorrentHandle::url_seeds() const { Q_ASSERT(h.is_valid()); QStringList res; try { - std::vector existing_seeds = h.get_torrent_info().url_seeds(); - unsigned int nbSeeds = existing_seeds.size(); - QString existing_seed; - for(unsigned int i=0; i existing_seeds = h.url_seeds(); + std::set::const_iterator it; + for(it = existing_seeds.begin(); it != existing_seeds.end(); it++) { + qDebug("URL Seed: %s", it->c_str()); + res << misc::toQString(*it); } } catch(std::exception e) {} return res;