From 9cf79a4a76ca32aa7472468c8af4c3ed5e216a51 Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Tue, 2 Nov 2010 18:16:18 +0000 Subject: [PATCH] Remove wrong assert in qtorrenthandle.cpp --- src/qtlibtorrent/qtorrenthandle.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/qtlibtorrent/qtorrenthandle.cpp b/src/qtlibtorrent/qtorrenthandle.cpp index 1d15a5c56..660ba9e82 100644 --- a/src/qtlibtorrent/qtorrenthandle.cpp +++ b/src/qtlibtorrent/qtorrenthandle.cpp @@ -474,7 +474,6 @@ void QTorrentHandle::add_url_seed(QString seed) { void QTorrentHandle::prioritize_files(const std::vector &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();