diff --git a/Changelog b/Changelog index b274e53db..7d44b14bb 100644 --- a/Changelog +++ b/Changelog @@ -2,6 +2,7 @@ - BUGFIX: Minor cosmetic fix to program preferences - BUGFIX: Fix "Temp path" button in program preferences - BUGFIX: Handle paths with [~, ., ..] properly + - BUGFIX: Trackers are now displayed for torrents without metadata * Fri Dec 18 2009 - Christophe Dumez - v2.0.2 - BUGFIX: Fix .qbittorrent folder not being created (critical bug introduced in v2.0.1 that makes qBittorrent unusuable for new users) diff --git a/src/trackerlist.h b/src/trackerlist.h index 40c662912..985e6810d 100644 --- a/src/trackerlist.h +++ b/src/trackerlist.h @@ -142,13 +142,13 @@ public slots: ++nb_pex; } // load DHT information - if(properties->getBTSession()->isDHTEnabled() && !h.priv()) { + if(properties->getBTSession()->isDHTEnabled() && h.has_metadata() && !h.priv()) { dht_item->setText(COL_STATUS, tr("Working")); } else { dht_item->setText(COL_STATUS, tr("Disabled")); } dht_item->setText(COL_PEERS, QString::number(nb_dht)); - if(h.priv()) { + if(h.has_metadata() && h.priv()) { dht_item->setText(COL_MSG, tr("This torrent is private")); } // Load PeX Information