- Initial implementation of "Append .!qB extension to incomplete files" (untested)

- Update torrent save path when its label is changed and "Append label to save path" setting is set
This commit is contained in:
Christophe Dumez
2009-12-18 13:36:47 +00:00
parent 1fd57b5d63
commit c61aded388
9 changed files with 112 additions and 2 deletions

View File

@@ -133,10 +133,12 @@ public:
return settings.value(QString::fromUtf8("Preferences/Downloads/TempPath"), home+"qBT_dir"+QDir::separator()+"temp").toString();
}
#ifdef LIBTORRENT_0_15
static bool useIncompleteFilesExtension() {
QSettings settings("qBittorrent", "qBittorrent");
return settings.value(QString::fromUtf8("Preferences/Downloads/UseIncompleteExtension"), false).toBool();
}
#endif
static bool appendTorrentLabel() {
QSettings settings("qBittorrent", "qBittorrent");