changed the Deny icon on Friend Deny

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3531 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
defnax 2010-09-23 22:34:40 +00:00
parent 8d6b4a2a09
commit 2672a83309

View File

@ -72,6 +72,7 @@
#include <QSound> #include <QSound>
/* Images for context menu icons */ /* Images for context menu icons */
#define IMAGE_DENYFRIEND ":/images/denied16.png"
#define IMAGE_REMOVEFRIEND ":/images/removefriend16.png" #define IMAGE_REMOVEFRIEND ":/images/removefriend16.png"
#define IMAGE_EXPORTFRIEND ":/images/exportpeers_16x16.png" #define IMAGE_EXPORTFRIEND ":/images/exportpeers_16x16.png"
#define IMAGE_PEERINFO ":/images/peerdetails_16x16.png" #define IMAGE_PEERINFO ":/images/peerdetails_16x16.png"
@ -431,7 +432,7 @@ void PeersDialog::peertreeWidgetCostumPopupMenu( QPoint point )
} }
if (type == TYPE_GPG) { if (type == TYPE_GPG) {
contextMnu.addAction(QIcon(IMAGE_REMOVEFRIEND), tr("Deny Friend"), this, SLOT(removefriend())); contextMnu.addAction(QIcon(IMAGE_DENYFRIEND), tr("Deny Friend"), this, SLOT(removefriend()));
} else { } else {
//this is a SSL key //this is a SSL key
contextMnu.addAction(QIcon(IMAGE_REMOVEFRIEND), tr("Remove Friend Location"), this, SLOT(removefriend())); contextMnu.addAction(QIcon(IMAGE_REMOVEFRIEND), tr("Remove Friend Location"), this, SLOT(removefriend()));