diff --git a/src/httpconnection.cpp b/src/httpconnection.cpp index 74a9b9e62..e61a32ca4 100644 --- a/src/httpconnection.cpp +++ b/src/httpconnection.cpp @@ -357,7 +357,7 @@ void HttpConnection::respondCommand(QString command) int file_id = parser.post("id").toInt(); int priority = parser.post("priority").toInt(); QTorrentHandle h = BTSession->getTorrentHandle(hash); - if(h.is_valid() && h.has_metadata() && !h.get_torrent_handle().is_seed()) { + if(h.is_valid() && h.has_metadata()) { h.file_priority(file_id, priority); } } diff --git a/src/qtorrenthandle.cpp b/src/qtorrenthandle.cpp index 4ab23a0d0..801d05792 100644 --- a/src/qtorrenthandle.cpp +++ b/src/qtorrenthandle.cpp @@ -538,7 +538,6 @@ void QTorrentHandle::move_storage(QString new_path) const { void QTorrentHandle::file_priority(int index, int priority) const { Q_ASSERT(h.is_valid()); - if(is_seed()) return; h.file_priority(index, priority); }