mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-02 14:16:16 -04:00
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:
parent
4614a06d57
commit
2ef645b6a5
3 changed files with 3 additions and 1 deletions
|
@ -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 );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue