mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-09-19 01:36:12 +08:00
UI: Replace SIGNAL and SLOT macros in auth
This commit is contained in:
+4
-4
@@ -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_);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user