Added Icons for Edit/Remove Group Actions

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3530 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
defnax 2010-09-23 21:32:07 +00:00
parent 8385984d78
commit 8d6b4a2a09

View File

@ -84,6 +84,8 @@
#define IMAGE_PASTELINK ":/images/pasterslink.png"
#define IMAGE_GROUP16 ":/images/user/group16.png"
#define IMAGE_GROUP24 ":/images/user/group24.png"
#define IMAGE_EDIT ":/images/edit_16.png"
#define IMAGE_REMOVE ":/images/delete.png"
#define COLUMN_COUNT 3
#define COLUMN_NAME 0
@ -401,10 +403,10 @@ void PeersDialog::peertreeWidgetCostumPopupMenu( QPoint point )
{
bool standard = c->data(COLUMN_DATA, ROLE_STANDARD).toBool();
action = contextMnu.addAction(QIcon(), tr("Edit group"), this, SLOT(editGroup()));
action = contextMnu.addAction(QIcon(IMAGE_EDIT), tr("Edit group"), this, SLOT(editGroup()));
action->setDisabled(standard);
action = contextMnu.addAction(QIcon(), tr("Remove group"), this, SLOT(removeGroup()));
action = contextMnu.addAction(QIcon(IMAGE_REMOVE), tr("Remove group"), this, SLOT(removeGroup()));
action->setDisabled(standard);
}
break;