* added doubleclick feature for can start a privat chat without need to use context menu for Friends Dialog and Messenger Window

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@902 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
defnax 2009-01-01 23:25:16 +00:00
parent 67706cc73c
commit 78fe71b2f4
2 changed files with 67 additions and 63 deletions

View file

@ -84,6 +84,7 @@ PeersDialog::PeersDialog(QWidget *parent)
ui.setupUi(this);
connect( ui.peertreeWidget, SIGNAL( customContextMenuRequested( QPoint ) ), this, SLOT( peertreeWidgetCostumPopupMenu( QPoint ) ) );
connect( ui.peertreeWidget, SIGNAL( itemDoubleClicked ( QTreeWidgetItem *, int)), this, SLOT(chatfriend()));
/* hide the Tree +/- */
ui.peertreeWidget -> setRootIsDecorated( false );