mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-19 21:03:30 -07:00
Fix behaviour of the torrent addition dialog. The 'set as default path' didn't work as intended. Closes issues #251 and #243.
This commit is contained in:
parent
1809de7f1a
commit
d6353fc3b2
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ AddNewTorrentDialog::AddNewTorrentDialog(QWidget *parent) :
|
||||||
QIniSettings settings(QString::fromUtf8("qBittorrent"), QString::fromUtf8("qBittorrent"));
|
QIniSettings settings(QString::fromUtf8("qBittorrent"), QString::fromUtf8("qBittorrent"));
|
||||||
Preferences pref;
|
Preferences pref;
|
||||||
ui->start_torrent_cb->setChecked(!pref.addTorrentsInPause());
|
ui->start_torrent_cb->setChecked(!pref.addTorrentsInPause());
|
||||||
ui->save_path_combo->addItem(fsutils::toDisplayPath(pref.getSavePath()));
|
ui->save_path_combo->addItem(fsutils::toDisplayPath(pref.getSavePath()), pref.getSavePath());
|
||||||
loadSavePathHistory();
|
loadSavePathHistory();
|
||||||
ui->save_path_combo->insertSeparator(ui->save_path_combo->count());
|
ui->save_path_combo->insertSeparator(ui->save_path_combo->count());
|
||||||
ui->save_path_combo->addItem(tr("Other...", "Other save path..."));
|
ui->save_path_combo->addItem(tr("Other...", "Other save path..."));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue