Added the real size of all files of a collection to the link when added with drag and drop.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4722 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
thunder2 2011-12-10 21:38:38 +00:00
parent 27bc170471
commit d07dbffa69
3 changed files with 50 additions and 7 deletions

View file

@ -47,7 +47,7 @@ class RsCollectionFile
// Loads file from disk.
bool load();
bool load(const QString& filename);
bool load(const QString& filename, bool showError = true);
// Save to disk
bool save() const ;
@ -56,6 +56,10 @@ class RsCollectionFile
// Download the content.
void downloadFiles() const ;
qulonglong size();
static bool isCollectionFile(const QString& filename);
private:
struct DLinfo
{