mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
Added a MessagesBox Question when removing a Friend
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2859 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
aae947ecd8
commit
5de5cf2fa5
@ -783,9 +783,14 @@ void PeersDialog::removefriend()
|
||||
|
||||
if (rsPeers)
|
||||
{
|
||||
if ((QMessageBox::question(this, tr("RetroShare"),tr("Do you want to remove this Friend?"),QMessageBox::Yes|QMessageBox::No, QMessageBox::Yes))== QMessageBox::Yes)
|
||||
{
|
||||
rsPeers->removeFriend(getPeerRsCertId(c));
|
||||
emit friendsUpdated() ;
|
||||
}
|
||||
else
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user