From 38aca6af6f218771f732c83d6311f3d30a096d4c Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Sat, 4 Dec 2010 20:02:12 +0000 Subject: [PATCH] BUGFIX: Disable overwrite confirmation in torrent addition dialog (closes # 685269) --- Changelog | 1 + src/torrentadditiondlg.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Changelog b/Changelog index 65dc10963..83135529a 100644 --- a/Changelog +++ b/Changelog @@ -19,6 +19,7 @@ overhead inclusion in rate limiter) - BUGFIX: Fix strict super seeding (was not working) - BUGFIX: Improve magnet save path handling (closes #683395) + - BUGFIX: Disable overwrite confirmation in torrent addition dialog (closes # 685269) - COSMETIC: Replaced message box by on-screen notification for download errors - COSMETIC: Improved the torrent creation tool appearance - COSMETIC: Use country flags by Mark James (Thanks to Dmytro Pukha) diff --git a/src/torrentadditiondlg.cpp b/src/torrentadditiondlg.cpp index 7bcee5dd1..56c7ec9eb 100644 --- a/src/torrentadditiondlg.cpp +++ b/src/torrentadditiondlg.cpp @@ -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);