Browse Source

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

adaptive-webui-19844
Christophe Dumez 15 years ago
parent
commit
fe91599eb4
  1. 4
      src/createtorrent_imp.cpp

4
src/createtorrent_imp.cpp

@ -199,6 +199,10 @@ void createtorrent::handleCreationSuccess(QString path, const char* branch_path) @@ -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);

Loading…
Cancel
Save