Fix compiling error

This commit is contained in:
Christophe Dumez
2010-10-24 10:12:37 +00:00
parent 93731f1b3f
commit de78fc495b

View File

@@ -664,7 +664,7 @@ void QTorrentHandle::move_storage(QString new_path) const {
}
void QTorrentHandle::file_priority(int index, int priority) const {
Q_ASSERT(torrent_handle::is_valid());
Q_ASSERT(h.is_valid());
bool was_seed = is_seed();
h.file_priority(index, priority);
if(was_seed && !is_seed()) {