BUGFIX: Disable overwrite confirmation in torrent addition dialog (closes # 685269)

This commit is contained in:
Christophe Dumez 2010-12-04 20:02:12 +00:00
parent 0fd8ecd9ee
commit 38aca6af6f
2 changed files with 2 additions and 1 deletions

View file

@ -19,6 +19,7 @@
overhead inclusion in rate limiter) overhead inclusion in rate limiter)
- BUGFIX: Fix strict super seeding (was not working) - BUGFIX: Fix strict super seeding (was not working)
- BUGFIX: Improve magnet save path handling (closes #683395) - 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: Replaced message box by on-screen notification for download errors
- COSMETIC: Improved the torrent creation tool appearance - COSMETIC: Improved the torrent creation tool appearance
- COSMETIC: Use country flags by Mark James (Thanks to Dmytro Pukha) - COSMETIC: Use country flags by Mark James (Thanks to Dmytro Pukha)

View file

@ -504,7 +504,7 @@ void torrentAdditionDialog::on_browseButton_clicked(){
Q_ASSERT(!is_magnet); Q_ASSERT(!is_magnet);
QString new_path; QString new_path;
if(t->num_files() == 1) { 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 { } else {
QString root_folder; QString root_folder;
QString truncated_path = getCurrentTruncatedSavePath(&root_folder); QString truncated_path = getCurrentTruncatedSavePath(&root_folder);