moved collapse/expand to correct place

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2086 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
defnax 2010-01-19 21:21:11 +00:00
parent 5676b68248
commit 0b736d9f28

View File

@ -265,9 +265,6 @@ void PeersDialog::peertreeWidgetCostumPopupMenu( QPoint point )
widgetAction->setDefaultWidget(widget); widgetAction->setDefaultWidget(widget);
contextMnu.clear(); contextMnu.clear();
contextMnu.addAction( expandAll);
contextMnu.addAction( collapseAll);
contextMnu.addSeparator();
contextMnu.addAction( widgetAction); contextMnu.addAction( widgetAction);
contextMnu.addAction( chatAct); contextMnu.addAction( chatAct);
contextMnu.addAction( msgAct); contextMnu.addAction( msgAct);
@ -279,6 +276,9 @@ void PeersDialog::peertreeWidgetCostumPopupMenu( QPoint point )
} }
contextMnu.addAction( removefriendAct); contextMnu.addAction( removefriendAct);
//contextMnu.addAction( exportfriendAct); //contextMnu.addAction( exportfriendAct);
contextMnu.addSeparator();
contextMnu.addAction( expandAll);
contextMnu.addAction( collapseAll);
contextMnu.exec( mevent->globalPos() ); contextMnu.exec( mevent->globalPos() );