mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-11-23 17:56:50 +03:00
Remove wrong assert in qtorrenthandle.cpp
This commit is contained in:
parent
c4968edb79
commit
9cf79a4a76
1 changed files with 0 additions and 1 deletions
|
@ -474,7 +474,6 @@ void QTorrentHandle::add_url_seed(QString seed) {
|
|||
void QTorrentHandle::prioritize_files(const std::vector<int> &v) {
|
||||
// Does not do anything for seeding torrents
|
||||
Q_ASSERT(torrent_handle::is_valid());
|
||||
Q_ASSERT(v.size() == (unsigned int)torrent_handle::get_torrent_info().num_files());
|
||||
if(v.size() != (unsigned int)torrent_handle::get_torrent_info().num_files())
|
||||
return;
|
||||
bool was_seed = is_seed();
|
||||
|
|
Loading…
Reference in a new issue