BUGFIX: Fix torrent error state clearance on resuming

This commit is contained in:
Christophe Dumez
2010-05-24 14:09:15 +00:00
parent 5f49af5ade
commit 1dadc08625
2 changed files with 2 additions and 1 deletions

View File

@@ -450,7 +450,7 @@ QString QTorrentHandle::root_path() const {
bool QTorrentHandle::has_error() const {
Q_ASSERT(h.is_valid());
return h.status().error.empty();
return h.is_paused() && !h.status().error.empty();
}
void QTorrentHandle::downloading_pieces(bitfield &bf) const {