mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-29 16:53:31 -05:00
Added the size of the collection to the link only for files (missing test).
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4723 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
d07dbffa69
commit
030874ca41
@ -558,7 +558,7 @@ QString RetroShareLink::toHtmlFull() const
|
||||
QString RetroShareLink::toHtmlSize() const
|
||||
{
|
||||
QString size = QString("(%1)").arg(misc::friendlyUnit(_size));
|
||||
if (RsCollectionFile::isCollectionFile(name())) {
|
||||
if (type() == TYPE_FILE && RsCollectionFile::isCollectionFile(name())) {
|
||||
FileInfo finfo;
|
||||
if (rsFiles->FileDetails(hash().toStdString(), RS_FILE_HINTS_EXTRA | RS_FILE_HINTS_LOCAL, finfo)) {
|
||||
RsCollectionFile collection;
|
||||
|
Loading…
x
Reference in New Issue
Block a user