From 02429724c698d24b16965ee6f651597eaf022d45 Mon Sep 17 00:00:00 2001 From: Daniel Lee Date: Thu, 24 Jun 2010 16:11:02 +0000 Subject: [PATCH] (qt) Change default peer sort order to peer address --- qt/details.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/qt/details.cc b/qt/details.cc index 3e9ed5b34..2a853cdc5 100644 --- a/qt/details.cc +++ b/qt/details.cc @@ -1166,6 +1166,7 @@ Details :: createPeersTab( ) myPeerTree->setHeaderLabels( headers ); myPeerTree->setColumnWidth( 0, 20 ); myPeerTree->setSortingEnabled( true ); + myPeerTree->sortByColumn( COL_ADDRESS, Qt::AscendingOrder ); myPeerTree->setRootIsDecorated( false ); myPeerTree->setTextElideMode( Qt::ElideRight ); v->addWidget( myPeerTree, 1 );