mirror of
https://github.com/transmission/transmission
synced 2024-12-26 09:37:56 +00:00
(qt) Change default peer sort order to peer address
This commit is contained in:
parent
58084f5b32
commit
02429724c6
1 changed files with 1 additions and 0 deletions
|
@ -1166,6 +1166,7 @@ Details :: createPeersTab( )
|
||||||
myPeerTree->setHeaderLabels( headers );
|
myPeerTree->setHeaderLabels( headers );
|
||||||
myPeerTree->setColumnWidth( 0, 20 );
|
myPeerTree->setColumnWidth( 0, 20 );
|
||||||
myPeerTree->setSortingEnabled( true );
|
myPeerTree->setSortingEnabled( true );
|
||||||
|
myPeerTree->sortByColumn( COL_ADDRESS, Qt::AscendingOrder );
|
||||||
myPeerTree->setRootIsDecorated( false );
|
myPeerTree->setRootIsDecorated( false );
|
||||||
myPeerTree->setTextElideMode( Qt::ElideRight );
|
myPeerTree->setTextElideMode( Qt::ElideRight );
|
||||||
v->addWidget( myPeerTree, 1 );
|
v->addWidget( myPeerTree, 1 );
|
||||||
|
|
Loading…
Reference in a new issue