|
|
|
@ -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); |
|
|
|
|