mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-16 02:03:07 -07:00
- Can now create trackerless torrents
This commit is contained in:
parent
37cf23fe33
commit
b148a93a8f
1 changed files with 2 additions and 2 deletions
|
@ -165,11 +165,11 @@ void createtorrent::on_createButton_clicked(){
|
||||||
QMessageBox::critical(0, tr("No input path set"), tr("Please type an input path first"));
|
QMessageBox::critical(0, tr("No input path set"), tr("Please type an input path first"));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
QStringList trackers = allItems(trackers_list);
|
/*QStringList trackers = allItems(trackers_list);
|
||||||
if(!trackers.size()){
|
if(!trackers.size()){
|
||||||
QMessageBox::critical(0, tr("No tracker path set"), tr("Please set at least one tracker"));
|
QMessageBox::critical(0, tr("No tracker path set"), tr("Please set at least one tracker"));
|
||||||
return;
|
return;
|
||||||
}
|
}*/
|
||||||
QString destination = QFileDialog::getSaveFileName(this, tr("Select destination torrent file"), QDir::homePath(), tr("Torrent Files")+QString::fromUtf8(" (*.torrent)"));
|
QString destination = QFileDialog::getSaveFileName(this, tr("Select destination torrent file"), QDir::homePath(), tr("Torrent Files")+QString::fromUtf8(" (*.torrent)"));
|
||||||
if(!destination.isEmpty()) {
|
if(!destination.isEmpty()) {
|
||||||
if(!destination.endsWith(QString::fromUtf8(".torrent")))
|
if(!destination.endsWith(QString::fromUtf8(".torrent")))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue