UI: Replace SIGNAL and SLOT macros in properties-view

This commit is contained in:
gxalpha committed 2023-07-21 13:16:04 +02:00
1 parent e467f17501
commit e8147a9abb
3 files changed
+46 -45

No files matched your search

+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();