1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-24 08:43:27 +00:00

(trunk gtk, qt) "Show 'queued to verify' torrents in the 'verifying' filter" -- added to trunk.

This commit is contained in:
Charles Kerr 2010-12-12 16:07:04 +00:00
parent 07d58516cd
commit b313c6f617
2 changed files with 2 additions and 2 deletions

View file

@ -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;

View file

@ -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( );