Make setSequentialDownload/setFirstLastPiecePriority independent.

This commit is contained in:
Vladimir Golovnev (Glassez) 2015-11-26 15:08:01 +03:00
parent 88abe2baff
commit 67e90d8d2a
4 changed files with 23 additions and 24 deletions

View file

@ -562,7 +562,7 @@ void TransferListWidget::toggleSelectedTorrentsSequentialDownload() const
void TransferListWidget::toggleSelectedFirstLastPiecePrio() const
{
foreach (BitTorrent::TorrentHandle *const torrent, getSelectedTorrents())
torrent->setFirstLastPiecePriority(!torrent->hasFirstLastPiecePriority());
torrent->toggleFirstLastPiecePriority();
}
void TransferListWidget::askNewLabelForSelection()