From de78fc495b47d298e8aaa98c317b0b13bef02737 Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Sun, 24 Oct 2010 10:12:37 +0000 Subject: [PATCH] Fix compiling error --- src/qtorrenthandle.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qtorrenthandle.cpp b/src/qtorrenthandle.cpp index 36528cfa5..ab59637e4 100644 --- a/src/qtorrenthandle.cpp +++ b/src/qtorrenthandle.cpp @@ -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()) {