mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-06 05:14:21 -04:00
fixed copy RS Links from own shared files
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-ImprovedGUI@6126 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
d875fa2e07
commit
24f4f38f80
1 changed files with 4 additions and 4 deletions
|
@ -163,7 +163,7 @@ SharedFilesDialog::SharedFilesDialog(RetroshareDirModel *_tree_model,RetroshareD
|
|||
|
||||
/* Hide platform specific features */
|
||||
copylinklocalAct = new QAction(QIcon(IMAGE_COPYLINK), tr( "Copy retroshare Links to Clipboard" ), this );
|
||||
connect( copylinklocalAct , SIGNAL( triggered() ), this, SLOT( copyLinkLocal() ) );
|
||||
connect( copylinklocalAct , SIGNAL( triggered() ), this, SLOT( copyLink() ) );
|
||||
copylinklocalhtmlAct = new QAction(QIcon(IMAGE_COPYLINK), tr( "Copy retroshare Links to Clipboard (HTML)" ), this );
|
||||
connect( copylinklocalhtmlAct , SIGNAL( triggered() ), this, SLOT( copyLinkhtml() ) );
|
||||
sendlinkAct = new QAction(QIcon(IMAGE_COPYLINK), tr( "Send retroshare Links" ), this );
|
||||
|
@ -442,7 +442,7 @@ void RemoteSharedFilesDialog::spawnCustomPopupMenu( QPoint point )
|
|||
|
||||
if (type == DIR_TYPE_FILE) {
|
||||
QAction *copyremotelinkAct = new QAction(QIcon(IMAGE_COPYLINK), tr( "Copy retroshare Link" ), &contextMnu );
|
||||
connect( copyremotelinkAct , SIGNAL( triggered() ), this, SLOT( copyLinkRemote() ) );
|
||||
connect( copyremotelinkAct , SIGNAL( triggered() ), this, SLOT( copyLink() ) );
|
||||
|
||||
QAction *sendremotelinkAct = new QAction(QIcon(IMAGE_COPYLINK), tr( "Send retroshare Link" ), &contextMnu );
|
||||
connect( sendremotelinkAct , SIGNAL( triggered() ), this, SLOT( sendremoteLinkTo( ) ) );
|
||||
|
@ -589,7 +589,7 @@ void SharedFilesDialog::sendLinkTo()
|
|||
#ifdef RS_USE_LINKS
|
||||
void SharedFilesDialog::sendLinkToCloud()
|
||||
{
|
||||
copyLinkLocal ();
|
||||
copyLink();
|
||||
|
||||
AddLinksDialog *nAddLinksDialog = new AddLinksDialog(QApplication::clipboard()->text());
|
||||
|
||||
|
@ -601,7 +601,7 @@ void SharedFilesDialog::sendLinkToCloud()
|
|||
|
||||
void SharedFilesDialog::addLinkToCloud()
|
||||
{
|
||||
copyLinkLocal ();
|
||||
copyLink();
|
||||
|
||||
AddLinksDialog *nAddLinksDialog = new AddLinksDialog(QApplication::clipboard()->text());
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue