Remove obsoleted functions from Utils::Gui namespace

`widget` parameter is kept for now to avoid major disruption for other PR.
Also add comments for loading svg images.

PR #16613.
This commit is contained in:
Chocobo1
2022-03-11 13:40:58 +08:00
committed by GitHub
parent 1b53c590f2
commit 88fe94bd6a
24 changed files with 45 additions and 65 deletions

View File

@@ -55,8 +55,6 @@ DeletionConfirmationDialog::DeletionConfirmationDialog(QWidget *parent, const in
m_ui->checkPermDelete->setChecked(defaultDeleteFiles || Preferences::instance()->deleteTorrentFilesAsDefault());
connect(m_ui->checkPermDelete, &QCheckBox::clicked, this, &DeletionConfirmationDialog::updateRememberButtonState);
m_ui->buttonBox->button(QDialogButtonBox::Cancel)->setFocus();
Utils::Gui::resize(this);
}
DeletionConfirmationDialog::~DeletionConfirmationDialog()