mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-04 23:25:32 -04:00
Reworked the process of the RetroShare links. Now RetroShare asks when adding a file or a person link and shows a detailed result.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4604 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
d30c03b183
commit
2fac47293e
16 changed files with 721 additions and 333 deletions
|
@ -515,10 +515,10 @@ void MessageComposer::contextMenuMsgSendList(QPoint)
|
|||
|
||||
void MessageComposer::pasteRecommended()
|
||||
{
|
||||
std::vector<RetroShareLink> links;
|
||||
QList<RetroShareLink> links;
|
||||
RSLinkClipboard::pasteLinks(links);
|
||||
|
||||
for (uint32_t i = 0; i < links.size(); i++) {
|
||||
for (int i = 0; i < links.size(); i++) {
|
||||
if (links[i].valid() && links[i].type() == RetroShareLink::TYPE_FILE) {
|
||||
FileInfo fileInfo;
|
||||
fileInfo.fname = links[i].name().toStdString();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue