Setup connection so that deny friend in peers dialog updates the network view.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1240 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2009-05-15 12:07:37 +00:00
parent dbfe103e03
commit 2d4bd2f42c
3 changed files with 5 additions and 1 deletions

View file

@ -204,7 +204,7 @@ void PeersDialog::peertreeWidgetCostumPopupMenu( QPoint point )
exportfriendAct = new QAction(QIcon(IMAGE_EXPIORTFRIEND), tr( "Export Friend" ), this );
connect( exportfriendAct , SIGNAL( triggered() ), this, SLOT( exportfriend() ) );
removefriendAct = new QAction(QIcon(IMAGE_REMOVEFRIEND), tr( "Remove Friend" ), this );
removefriendAct = new QAction(QIcon(IMAGE_REMOVEFRIEND), tr( "Deny Friend" ), this );
connect( removefriendAct , SIGNAL( triggered() ), this, SLOT( removefriend() ) );
@ -567,6 +567,7 @@ void PeersDialog::removefriend()
if (rsPeers)
{
rsPeers->removeFriend(getPeerRsCertId(c));
emit friendsUpdated() ;
}
}

View file

@ -104,6 +104,8 @@ private slots:
void getFont();
void underline();
signals:
void friendsUpdated() ;
private: