change sorting order

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1868 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
joss17 2009-12-14 10:34:43 +00:00
parent fdb3673ce2
commit f610e09f5c

View File

@ -174,7 +174,7 @@ PeersDialog::PeersDialog(QWidget *parent)
timer->connect(timer, SIGNAL(timeout()), this, SLOT(insertChat())); timer->connect(timer, SIGNAL(timeout()), this, SLOT(insertChat()));
timer->start(500); /* half a second */ timer->start(500); /* half a second */
ui.peertreeWidget->sortItems( 1, Qt::AscendingOrder ); ui.peertreeWidget->sortItems( 2, Qt::AscendingOrder );
QMenu *menu = new QMenu(); QMenu *menu = new QMenu();
menu->addAction(ui.actionAdd_Friend); menu->addAction(ui.actionAdd_Friend);