mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-08 17:15:16 -04:00
- removed LinksCloud from plugins (based on obsolete cache system)
- removed copy constructor of RsGenericId from std::string as it allowed many inconsistencies and double transforms of IDs from/to strings git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7289 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
160e04fe9a
commit
33abca82e5
33 changed files with 97 additions and 143 deletions
|
@ -595,7 +595,7 @@ void MessageComposer::pasteRecommended()
|
|||
if (links[i].valid() && links[i].type() == RetroShareLink::TYPE_FILE) {
|
||||
FileInfo fileInfo;
|
||||
fileInfo.fname = links[i].name().toStdString();
|
||||
fileInfo.hash = links[i].hash().toStdString();
|
||||
fileInfo.hash = RsFileHash(links[i].hash().toStdString());
|
||||
fileInfo.size = links[i].size();
|
||||
|
||||
addFile(fileInfo);
|
||||
|
|
|
@ -321,7 +321,7 @@ void MessageWidget::getcurrentrecommended()
|
|||
fi.size = it->data().toULongLong() ;
|
||||
break ;
|
||||
case COLUMN_FILE_HASH:
|
||||
fi.hash = it->data().toString().toStdString() ;
|
||||
fi.hash = RsFileHash(it->data().toString().toStdString()) ;
|
||||
break ;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue