mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-22 07:41:20 -04:00
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:
parent
27bc170471
commit
d07dbffa69
3 changed files with 50 additions and 7 deletions
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue