mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-13 00:25:48 -04:00
merge of branch v0.6-idclean 7180
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7187 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
7815efb16f
commit
0f29d28b1b
397 changed files with 6503 additions and 5702 deletions
|
@ -99,7 +99,7 @@ DetailsDialog::show()
|
|||
}
|
||||
}
|
||||
|
||||
void DetailsDialog::setFileHash(const std::string & hash)
|
||||
void DetailsDialog::setFileHash(const RsFileHash & hash)
|
||||
{
|
||||
dynamic_cast<FileTransferInfoWidget*>(ui.fileTransferInfoWidget->widget())->setFileHash(hash) ;
|
||||
|
||||
|
@ -108,7 +108,7 @@ void DetailsDialog::setFileHash(const std::string & hash)
|
|||
return ;
|
||||
|
||||
RetroShareLink link ;
|
||||
link.createFile(QString::fromUtf8(nfo.fname.c_str()),nfo.size,QString::fromStdString(nfo.hash)) ;
|
||||
link.createFile(QString::fromUtf8(nfo.fname.c_str()),nfo.size,QString::fromStdString(nfo.hash.toStdString())) ;
|
||||
|
||||
ui.Linktext->setText(link.toString()) ;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue