mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-11-26 11:16:20 +03:00
Merge pull request #587 from sledgehammer999/update_disklabel
Update disk space label in add new torrent dialog. Fixes issue #282.
This commit is contained in:
commit
f0e98e2828
1 changed files with 1 additions and 0 deletions
|
@ -70,6 +70,7 @@ AddNewTorrentDialog::AddNewTorrentDialog(QWidget *parent) :
|
|||
ui->save_path_combo->insertSeparator(ui->save_path_combo->count());
|
||||
ui->save_path_combo->addItem(tr("Other...", "Other save path..."));
|
||||
connect(ui->save_path_combo, SIGNAL(currentIndexChanged(int)), SLOT(onSavePathChanged(int)));
|
||||
connect(ui->save_path_combo, SIGNAL(currentIndexChanged(int)), SLOT(updateDiskSpaceLabel()));
|
||||
ui->default_save_path_cb->setVisible(false); // Default path is selected by default
|
||||
|
||||
// Load labels
|
||||
|
|
Loading…
Reference in a new issue