mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-17 14:08:03 -06:00
committed by
GitHub
parent
9318f05e2b
commit
4efece4ab8
@@ -333,7 +333,6 @@ void TransferListWidget::setSelectedTorrentsLocation()
|
||||
auto fileDialog = new QFileDialog(this, tr("Choose save path"), oldLocation.data());
|
||||
fileDialog->setAttribute(Qt::WA_DeleteOnClose);
|
||||
fileDialog->setFileMode(QFileDialog::Directory);
|
||||
fileDialog->setModal(true);
|
||||
fileDialog->setOptions(QFileDialog::DontConfirmOverwrite | QFileDialog::ShowDirsOnly | QFileDialog::HideNameFilterDetails);
|
||||
connect(fileDialog, &QDialog::accepted, this, [this, fileDialog]()
|
||||
{
|
||||
@@ -353,7 +352,7 @@ void TransferListWidget::setSelectedTorrentsLocation()
|
||||
}
|
||||
});
|
||||
|
||||
fileDialog->show();
|
||||
fileDialog->open();
|
||||
}
|
||||
|
||||
void TransferListWidget::pauseAllTorrents()
|
||||
|
||||
Reference in New Issue
Block a user