UI: Replace SIGNAL and SLOT macros in properties-view

This commit is contained in:
gxalpha 2023-03-15 03:01:52 +01:00
commit e8147a9abb
No known key found for this signature in database
GPG key ID: 470184116E317811
3 changed files with 46 additions and 45 deletions

View file

@ -84,8 +84,8 @@ OBSBasicProperties::OBSBasicProperties(QWidget *parent, OBSSource source_)
ui->propertiesLayout->addWidget(view);
if (type == OBS_SOURCE_TYPE_TRANSITION) {
connect(view, SIGNAL(PropertiesRefreshed()), this,
SLOT(AddPreviewButton()));
connect(view, &OBSPropertiesView::PropertiesRefreshed, this,
&OBSBasicProperties::AddPreviewButton);
}
view->show();