- Skip file checking in "start seeding immediately after torrent creation" feature (libtorrent v0.15 only)

This commit is contained in:
Christophe Dumez 2009-11-29 09:11:39 +00:00
parent d9817795ed
commit fe91599eb4

View file

@ -199,6 +199,10 @@ void createtorrent::handleCreationSuccess(QString path, const char* branch_path)
}
QString hash = misc::toQString(t->info_hash());
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);
}
QMessageBox::information(0, tr("Torrent creation"), tr("Torrent was created successfully:")+" "+path);