UI: Replace remaining SIGNAL/SLOT macros

This commit is contained in:
gxalpha
2024-08-29 19:52:23 +02:00
committed by Ryan Foster
parent 296a2b8631
commit 7b0e154245
2 changed files with 6 additions and 6 deletions

View File

@@ -2836,8 +2836,8 @@ void OBSBasic::ShowWhatsNew(const QString &url)
return;
}
connect(cefWidget, SIGNAL(titleChanged(const QString &)), dlg,
SLOT(setWindowTitle(const QString &)));
connect(cefWidget, &QCefWidget::titleChanged, dlg,
&QDialog::setWindowTitle);
QPushButton *close = new QPushButton(QTStr("Close"));
connect(close, &QAbstractButton::clicked, dlg, &QDialog::accept);