UI: Replace SIGNAL and SLOT macros in properties-view

This commit is contained in:
gxalpha
2023-03-15 03:01:52 +01:00
parent e467f17501
commit e8147a9abb
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();