|
|
@ -505,6 +505,7 @@ void DownloadingTorrents::updateMetadata(QTorrentHandle &h) { |
|
|
|
// get information from torrent handles and
|
|
|
|
// get information from torrent handles and
|
|
|
|
// update download list accordingly
|
|
|
|
// update download list accordingly
|
|
|
|
bool DownloadingTorrents::updateTorrent(QTorrentHandle h) { |
|
|
|
bool DownloadingTorrents::updateTorrent(QTorrentHandle h) { |
|
|
|
|
|
|
|
if(!h.is_valid()) return false; |
|
|
|
bool added = false; |
|
|
|
bool added = false; |
|
|
|
try{ |
|
|
|
try{ |
|
|
|
QString hash = h.hash(); |
|
|
|
QString hash = h.hash(); |
|
|
|