mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-31 04:38:04 -06:00
Move signal/slot connections out of .ui files
This unify the place (.cpp file) where we handle signal/slot connections.
This commit is contained in:
@@ -37,6 +37,9 @@ AutoExpandableDialog::AutoExpandableDialog(QWidget *parent)
|
||||
, m_ui(new Ui::AutoExpandableDialog)
|
||||
{
|
||||
m_ui->setupUi(this);
|
||||
|
||||
connect(m_ui->buttonBox, &QDialogButtonBox::accepted, this, &QDialog::accept);
|
||||
connect(m_ui->buttonBox, &QDialogButtonBox::rejected, this, &QDialog::reject);
|
||||
}
|
||||
|
||||
AutoExpandableDialog::~AutoExpandableDialog()
|
||||
|
||||
Reference in New Issue
Block a user