mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-22 20:44:15 +00:00
- Fix "Append .!qB extension" for torrents without metadata (Magnet Links)
This commit is contained in:
parent
b56dee2a92
commit
98561f9db9
@ -1295,7 +1295,7 @@ void Bittorrent::setDefaultTempPath(QString temppath) {
|
||||
|
||||
#ifdef LIBTORRENT_0_15
|
||||
void Bittorrent::appendqBextensionToTorrent(QTorrentHandle h, bool append) {
|
||||
if(!h.is_valid()) return;
|
||||
if(!h.is_valid() || !h.has_metadata()) return;
|
||||
std::vector<size_type> fp;
|
||||
h.file_progress(fp);
|
||||
for(int i=0; i<h.num_files(); ++i) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user