mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-16 04:52:37 -04:00
disabled distant chat/msg by default before merge
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-GenericTunneling@6410 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
264f92cf15
commit
1450ae8a5e
1 changed files with 2 additions and 0 deletions
|
@ -550,7 +550,9 @@ void ChatWidget::contextMenu(QPoint point)
|
||||||
QAction *action = contextMnu->addAction(QIcon(":/images/pasterslink.png"), tr("Paste RetroShare Link"), this, SLOT(pasteLink()));
|
QAction *action = contextMnu->addAction(QIcon(":/images/pasterslink.png"), tr("Paste RetroShare Link"), this, SLOT(pasteLink()));
|
||||||
action->setDisabled(RSLinkClipboard::empty());
|
action->setDisabled(RSLinkClipboard::empty());
|
||||||
contextMnu->addAction(QIcon(":/images/pasterslink.png"), tr("Paste my certificate link"), this, SLOT(pasteOwnCertificateLink()));
|
contextMnu->addAction(QIcon(":/images/pasterslink.png"), tr("Paste my certificate link"), this, SLOT(pasteOwnCertificateLink()));
|
||||||
|
#ifdef ENABLE_DISTANT_CHAT_AND_MSGS
|
||||||
contextMnu->addAction(QIcon(":/images/pasterslink.png"), tr("Paste/Create private chat or Message link..."), this, SLOT(pasteCreateMsgLink()));
|
contextMnu->addAction(QIcon(":/images/pasterslink.png"), tr("Paste/Create private chat or Message link..."), this, SLOT(pasteCreateMsgLink()));
|
||||||
|
#endif
|
||||||
|
|
||||||
contextMnu->exec(QCursor::pos());
|
contextMnu->exec(QCursor::pos());
|
||||||
delete(contextMnu);
|
delete(contextMnu);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue