mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-08 00:55:13 -04:00
Fixed to display the right icons for the channels context menu
Added a warn MessageBox git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7344 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
4c66f82da8
commit
9b1c5a0e85
5 changed files with 21 additions and 8 deletions
|
@ -44,6 +44,7 @@
|
|||
#define IMAGE_COPYLINK ":/images/copyrslink.png"
|
||||
#define IMAGE_EDIT ":/images/edit_16.png"
|
||||
#define IMAGE_SHARE ":/images/share-icon-16.png"
|
||||
#define IMAGE_TABNEW ":/images/tab-new.png"
|
||||
|
||||
#define TOKEN_TYPE_LISTING 1
|
||||
#define TOKEN_TYPE_SUBSCRIBE_CHANGE 2
|
||||
|
@ -219,7 +220,7 @@ void GxsGroupFrameDialog::groupTreeCustomPopupMenu(QPoint /*point*/)
|
|||
}
|
||||
|
||||
if (mMessageWidget) {
|
||||
action = contextMnu.addAction(QIcon(""), tr("Open in new tab"), this, SLOT(openInNewTab()));
|
||||
action = contextMnu.addAction(QIcon(IMAGE_TABNEW), tr("Open in new tab"), this, SLOT(openInNewTab()));
|
||||
if (mGroupId.isNull() || messageWidget(mGroupId, true)) {
|
||||
action->setEnabled(false);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue