mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 22:47:21 -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:
@@ -220,6 +220,9 @@ UIThemeDialog::UIThemeDialog(QWidget *parent)
|
||||
{
|
||||
m_ui->setupUi(this);
|
||||
|
||||
connect(m_ui->buttonBox, &QDialogButtonBox::accepted, this, &QDialog::accept);
|
||||
connect(m_ui->buttonBox, &QDialogButtonBox::rejected, this, &QDialog::reject);
|
||||
|
||||
loadColors();
|
||||
loadIcons();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user