mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-19 23:17:21 -06:00
BUGFIX: Disable overwrite confirmation in torrent addition dialog (closes # 685269)
This commit is contained in:
@@ -504,7 +504,7 @@ void torrentAdditionDialog::on_browseButton_clicked(){
|
||||
Q_ASSERT(!is_magnet);
|
||||
QString new_path;
|
||||
if(t->num_files() == 1) {
|
||||
new_path = QFileDialog::getSaveFileName(this, tr("Choose save path"), savePathTxt->currentText());
|
||||
new_path = QFileDialog::getSaveFileName(this, tr("Choose save path"), savePathTxt->currentText(), QString(), 0, QFileDialog::DontConfirmOverwrite);
|
||||
} else {
|
||||
QString root_folder;
|
||||
QString truncated_path = getCurrentTruncatedSavePath(&root_folder);
|
||||
|
||||
Reference in New Issue
Block a user