Changeset 11051
- Timestamp:
- Jul 24, 2010, 11:51:02 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/qt/torrent-delegate.cc
r10933 r11051 161 161 TorrentDelegate :: shortTransferString( const Torrent& tor ) const 162 162 { 163 static const QChar upArrow( 0x2191 ); 164 static const QChar downArrow( 0x2193 ); 163 165 const bool haveMeta( tor.hasMetadata( ) ); 164 166 const bool haveDown( haveMeta && tor.peersWeAreDownloadingFrom( ) > 0 ); … … 172 174 173 175 if( haveDown && haveUp ) 174 str = tr( " Down: %1, Up: %2" ).arg(downStr).arg(upStr);176 str = tr( "%1 %2, %3 %4" ).arg(downArrow).arg(downStr).arg(upArrow).arg(upStr); 175 177 else if( haveDown ) 176 str = tr( " Down: %1" ).arg( downStr);178 str = tr( "%1 %2" ).arg(downArrow).arg(downStr); 177 179 else if( haveUp ) 178 str = tr( " Up: %1" ).arg( upStr);180 str = tr( "%1 %2" ).arg(upArrow).arg(upStr); 179 181 else if( tor.hasMetadata( ) ) 180 182 str = tr( "Idle" );
Note: See TracChangeset
for help on using the changeset viewer.