mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -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
@ -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 );
|
||||||
|
@ -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>
|
||||||
|
BIN
retroshare-gui/src/gui/images/edit_16.png
Normal file
BIN
retroshare-gui/src/gui/images/edit_16.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 613 B |
Loading…
Reference in New Issue
Block a user