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:
parent
a1c83dc9a8
commit
da3168aa80
1 changed files with 4 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue