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

View File

@ -24,6 +24,7 @@
<file>images/connect_creating.png</file> <file>images/connect_creating.png</file>
<file>images/connect_no.png</file> <file>images/connect_no.png</file>
<file>images/edit-clear-history.png</file> <file>images/edit-clear-history.png</file>
<file>images/edit_16.png</file>
<file>images/feedback_arrow.png</file> <file>images/feedback_arrow.png</file>
<file>images/feedback_arrow_hover.png</file> <file>images/feedback_arrow_hover.png</file>
<file>images/list_bullet_arrow.png</file> <file>images/list_bullet_arrow.png</file>

Binary file not shown.

After

Width:  |  Height:  |  Size: 613 B