mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-07-19 09:39:15 +00:00
UI: Replace SIGNAL and SLOT macros in auth
This commit is contained in:
parent
c1be5827c0
commit
fc07e59754
|
@ -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_);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue