mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-20 07:27:22 -06:00
- Skip file checking in "start seeding immediately after torrent creation" feature (libtorrent v0.15 only)
This commit is contained in:
@@ -199,6 +199,10 @@ void createtorrent::handleCreationSuccess(QString path, const char* branch_path)
|
|||||||
}
|
}
|
||||||
QString hash = misc::toQString(t->info_hash());
|
QString hash = misc::toQString(t->info_hash());
|
||||||
TorrentTempData::setSavePath(hash, QString(branch_path));
|
TorrentTempData::setSavePath(hash, QString(branch_path));
|
||||||
|
#ifdef LIBTORRENT_0_15
|
||||||
|
// Enable seeding mode (do not recheck the files)
|
||||||
|
TorrentTempData::setSeedingMode(hash, true);
|
||||||
|
#endif
|
||||||
emit torrent_to_seed(path);
|
emit torrent_to_seed(path);
|
||||||
}
|
}
|
||||||
QMessageBox::information(0, tr("Torrent creation"), tr("Torrent was created successfully:")+" "+path);
|
QMessageBox::information(0, tr("Torrent creation"), tr("Torrent was created successfully:")+" "+path);
|
||||||
|
|||||||
Reference in New Issue
Block a user