(trunk qt) tweak paused/stopped/finished in the details dialog

This commit is contained in:
Charles Kerr 2010-04-06 03:10:48 +00:00
parent a1c83dc9a8
commit da3168aa80
1 changed files with 4 additions and 3 deletions

View File

@ -245,9 +245,10 @@ Details :: refresh( )
if( torrents.empty( ) )
string = none;
else {
const tr_torrent_activity activity = torrents[0]->getActivity( );
string = torrents[0]->activityString( );
foreach( const Torrent* t, torrents ) {
if( string != t->activityString( ) ) {
foreach( const Torrent * t, torrents ) {
if( activity != t->getActivity( ) ) {
string = mixed;
break;
}
@ -340,7 +341,7 @@ Details :: refresh( )
allPaused = false;
}
if( allPaused )
string = tr( "Stopped" );
string = torrents[0]->activityString( );
else if( baseline.isNull( ) )
string = mixed;
else