Better fix for FS changes on torrent labeling

This commit is contained in:
Christophe Dumez
2010-04-10 14:17:26 +00:00
parent 4f87819abf
commit 1052cd019b
3 changed files with 39 additions and 34 deletions

View File

@@ -73,6 +73,8 @@ public:
static QString truncateRootFolder(boost::intrusive_ptr<torrent_info> t);
static QString truncateRootFolder(torrent_handle h);
static QString updateLabelInSavePath(const QString& defaultSavePath, QString save_path, const QString old_label, const QString new_label);
static bool sameFiles(QString path1, QString path2);
static void copyDir(QString src_path, QString dst_path);
// Introduced in v2.1.0 for backward compatibility