Added a icon for Edit Action in ShareManager

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3528 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
defnax 2010-09-23 21:08:22 +00:00
parent 4614a06d57
commit 2ef645b6a5
3 changed files with 3 additions and 1 deletions

View file

@ -35,6 +35,7 @@
/* Images for context menu icons */
#define IMAGE_CANCEL ":/images/delete.png"
#define IMAGE_EDIT ":/images/edit_16.png"
#define COLUMN_PATH 0
#define COLUMN_VIRTUALNAME 1
@ -90,7 +91,7 @@ void ShareManager::shareddirListCostumPopupMenu( QPoint point )
{
QMenu contextMnu( this );
QAction *editAct = new QAction(tr( "Edit" ), &contextMnu );
QAction *editAct = new QAction(QIcon(IMAGE_EDIT), tr( "Edit" ), &contextMnu );
connect( editAct , SIGNAL( triggered() ), this, SLOT( editShareDirectory() ) );
QAction *removeAct = new QAction(QIcon(IMAGE_CANCEL), tr( "Remove" ), &contextMnu );