Remove empty folders on torrent soft deletion

Code clean up
This commit is contained in:
Christophe Dumez
2010-12-29 20:29:55 +00:00
parent 20d90e0e0c
commit cc4e1c5bbe
4 changed files with 16 additions and 19 deletions

View File

@@ -179,7 +179,7 @@ public:
// value must be given in bytes
static QString friendlyUnit(double val);
static bool isPreviewable(QString extension);
static bool removeEmptyTree(QString path);
static QString branchPath(QString file_path);
static QString magnetUriToName(QString magnet_uri);
static QString magnetUriToHash(QString magnet_uri);
static QString bcLinkToMagnet(QString bc_link);