mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-09-24 23:31:36 +08:00
UI: Replace SIGNAL and SLOT macros in window-basic-main
This commit is contained in:
@@ -31,8 +31,8 @@ OBSBasicVCamConfig::OBSBasicVCamConfig(const VCamConfig &_config,
|
||||
ui->outputType->setCurrentIndex(
|
||||
ui->outputType->findData((int)config.type));
|
||||
OutputTypeChanged();
|
||||
connect(ui->outputType, SIGNAL(currentIndexChanged(int)), this,
|
||||
SLOT(OutputTypeChanged()));
|
||||
connect(ui->outputType, &QComboBox::currentIndexChanged, this,
|
||||
&OBSBasicVCamConfig::OutputTypeChanged);
|
||||
|
||||
connect(ui->buttonBox, &QDialogButtonBox::accepted, this,
|
||||
&OBSBasicVCamConfig::UpdateConfig);
|
||||
|
||||
Reference in New Issue
Block a user