mirror of
https://github.com/transmission/transmission
synced 2025-02-13 18:04:43 +00:00
(trunk qt) fix text alignment issue in the inspector's peers tab's speed and percentage columns
This commit is contained in:
parent
5b53b62773
commit
98232d246b
1 changed files with 3 additions and 3 deletions
|
@ -771,9 +771,9 @@ Details :: refresh( )
|
|||
static const QIcon myEncryptionIcon( ":/icons/encrypted.png" );
|
||||
static const QIcon myEmptyIcon;
|
||||
item = new PeerItem( peer );
|
||||
item->setTextAlignment( COL_UP, Qt::AlignRight );
|
||||
item->setTextAlignment( COL_DOWN, Qt::AlignRight );
|
||||
item->setTextAlignment( COL_PERCENT, Qt::AlignRight );
|
||||
item->setTextAlignment( COL_UP, Qt::AlignRight|Qt::AlignVCenter );
|
||||
item->setTextAlignment( COL_DOWN, Qt::AlignRight|Qt::AlignVCenter );
|
||||
item->setTextAlignment( COL_PERCENT, Qt::AlignRight|Qt::AlignVCenter );
|
||||
item->setIcon( COL_LOCK, peer.isEncrypted ? myEncryptionIcon : myEmptyIcon );
|
||||
item->setToolTip( COL_LOCK, peer.isEncrypted ? tr( "Encrypted connection" ) : "" );
|
||||
item->setText( COL_ADDRESS, peer.address );
|
||||
|
|
Loading…
Reference in a new issue