1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-25 01:03:01 +00:00

(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

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