1
0
Fork 0
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:
Daniel Lee 2010-06-24 16:11:02 +00:00
parent 58084f5b32
commit 02429724c6

View file

@ -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 );