Fix UI freeze when right clicking on a torrent with libtorrent 1.0.x.

Thanks to pmzqla for finding the root issue.
Closes #2365 #2388.
This commit is contained in:
sledgehammer999 2015-05-10 02:31:35 +03:00
parent 18e2bb6f60
commit 8a5d2208a5
3 changed files with 1 additions and 17 deletions

View file

@ -852,7 +852,7 @@ void TransferListWidget::displayListMenu(const QPoint&)
has_pause = true;
}
}
if (h.has_metadata() && BTSession->isFilePreviewPossible(hash) && !has_preview)
if (h.has_metadata() && !has_preview)
has_preview = true;
first = false;
if (has_pause && has_start && has_force && has_preview && one_not_seed) break;