Improve folder removal behavior

This commit is contained in:
Christophe Dumez
2011-03-10 18:34:28 +00:00
parent feeecbf395
commit 15d3b07f34
3 changed files with 21 additions and 10 deletions

View File

@@ -123,6 +123,8 @@ public:
return MyFile.remove();
}
static bool removeEmptyFolder(const QString &dirpath);
static quint64 computePathSize(QString path);
static QString truncateRootFolder(boost::intrusive_ptr<libtorrent::torrent_info> t);