UI: Replace SIGNAL and SLOT macros in properties-view

This commit is contained in:
gxalpha
2023-07-21 13:16:04 +02:00
parent e467f17501
commit e8147a9abb
3 changed files with 46 additions and 45 deletions
+2 -2
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();