mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-12-18 10:02:41 -05:00
Fixed to get work the Copy RS Link for the share action
This commit is contained in:
parent
a866184d6d
commit
35cbe5bacb
3 changed files with 11 additions and 1 deletions
|
|
@ -186,7 +186,7 @@ void BoardPostDisplayWidgetBase::setup()
|
|||
QObject::connect(readButton(), SIGNAL(clicked()), this, SLOT(readToggled()));
|
||||
|
||||
QAction *CopyLinkAction = new QAction(QIcon(""),tr("Copy RetroShare Link"), this);
|
||||
connect(CopyLinkAction, SIGNAL(triggered()), this, SLOT(copyMessageLink()));
|
||||
connect(CopyLinkAction, SIGNAL(triggered()), this, SLOT(handleCopyLinkClicked()));
|
||||
|
||||
QAction *showInPeopleAct = new QAction(QIcon(), tr("Show author in people tab"), this);
|
||||
connect(showInPeopleAct, SIGNAL(triggered()), this, SLOT(showAuthorInPeople()));
|
||||
|
|
@ -311,6 +311,11 @@ void BoardPostDisplayWidgetBase::handleShareButtonClicked()
|
|||
{
|
||||
emit shareButtonClicked();
|
||||
}
|
||||
|
||||
void BoardPostDisplayWidgetBase::handleCopyLinkClicked()
|
||||
{
|
||||
emit copylinkClicked();
|
||||
}
|
||||
//===================================================================================================================================
|
||||
//== class BoardPostDisplayWidget ==
|
||||
//===================================================================================================================================
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue