From b313c6f617904b758cbbbd5a8ff2215f5e695a6f Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Sun, 12 Dec 2010 16:07:04 +0000 Subject: [PATCH] (trunk gtk, qt) "Show 'queued to verify' torrents in the 'verifying' filter" -- added to trunk. --- gtk/filter.c | 2 +- qt/torrent-filter.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gtk/filter.c b/gtk/filter.c index 77203ebe6..e95014a4b 100644 --- a/gtk/filter.c +++ b/gtk/filter.c @@ -633,7 +633,7 @@ test_torrent_activity( tr_torrent * tor, int type ) return st->activity == TR_STATUS_CHECK_WAIT; case ACTIVITY_FILTER_VERIFYING: - return st->activity == TR_STATUS_CHECK ; + return ( st->activity == TR_STATUS_CHECK ) || ( st->activity == TR_STATUS_CHECK_WAIT ); case ACTIVITY_FILTER_ERROR: return st->error != 0; diff --git a/qt/torrent-filter.cc b/qt/torrent-filter.cc index 558deb0ac..80dad34d5 100644 --- a/qt/torrent-filter.cc +++ b/qt/torrent-filter.cc @@ -159,7 +159,7 @@ TorrentFilter :: activityFilterAcceptsTorrent( const Torrent * tor, const Filter accepts = tor->isWaitingToVerify( ); break; case FilterMode::SHOW_VERIFYING: - accepts = tor->isVerifying( ); + accepts = tor->isVerifying( ) || tor->isWaitingToVerify( ); break; case FilterMode::SHOW_ERROR: accepts = tor->hasError( );