mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-02-02 09:55:55 +00:00
Update disk space label in add new torrent dialog. Fixes issue #282.
This commit is contained in:
parent
f918e7f0b0
commit
1e7668608a
@ -70,6 +70,7 @@ AddNewTorrentDialog::AddNewTorrentDialog(QWidget *parent) :
|
|||||||
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..."));
|
||||||
connect(ui->save_path_combo, SIGNAL(currentIndexChanged(int)), SLOT(onSavePathChanged(int)));
|
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
|
ui->default_save_path_cb->setVisible(false); // Default path is selected by default
|
||||||
|
|
||||||
// Load labels
|
// Load labels
|
||||||
|
Loading…
x
Reference in New Issue
Block a user