UI: Replace SIGNAL and SLOT macros in auth

This commit is contained in:
gxalpha 2023-02-12 23:33:54 +01:00
parent c1be5827c0
commit fc07e59754
No known key found for this signature in database
GPG key ID: 470184116E317811

View file

@ -355,10 +355,10 @@ void YoutubeChatDock::SetWidget(QCefWidget *widget_)
widget->setLayout(layout);
setWidget(widget);
QWidget::connect(lineEdit, SIGNAL(returnPressed()), this,
SLOT(SendChatMessage()));
QWidget::connect(sendButton, SIGNAL(pressed()), this,
SLOT(SendChatMessage()));
QWidget::connect(lineEdit, &LineEditAutoResize::returnPressed, this,
&YoutubeChatDock::SendChatMessage);
QWidget::connect(sendButton, &QPushButton::pressed, this,
&YoutubeChatDock::SendChatMessage);
cefWidget.reset(widget_);
}