Browse Source

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

adaptive-webui-19844
Christophe Dumez 14 years ago
parent
commit
38aca6af6f
  1. 1
      Changelog
  2. 2
      src/torrentadditiondlg.cpp

1
Changelog

@ -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)

2
src/torrentadditiondlg.cpp

@ -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);

Loading…
Cancel
Save