Browse Source

- Can now create trackerless torrents

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

4
src/createtorrent_imp.cpp

@ -165,11 +165,11 @@ void createtorrent::on_createButton_clicked(){ @@ -165,11 +165,11 @@ void createtorrent::on_createButton_clicked(){
QMessageBox::critical(0, tr("No input path set"), tr("Please type an input path first"));
return;
}
QStringList trackers = allItems(trackers_list);
/*QStringList trackers = allItems(trackers_list);
if(!trackers.size()){
QMessageBox::critical(0, tr("No tracker path set"), tr("Please set at least one tracker"));
return;
}
}*/
QString destination = QFileDialog::getSaveFileName(this, tr("Select destination torrent file"), QDir::homePath(), tr("Torrent Files")+QString::fromUtf8(" (*.torrent)"));
if(!destination.isEmpty()) {
if(!destination.endsWith(QString::fromUtf8(".torrent")))

Loading…
Cancel
Save