UI: Fix YouTube Chat build failure with Qt 6
This commit is contained in:
parent
3b3b45038f
commit
cf0275e00d
@ -336,12 +336,12 @@ void YoutubeChatDock::SetWidget(QCefWidget *widget_)
|
||||
sendButton->setVisible(false);
|
||||
|
||||
chatLayout = new QHBoxLayout();
|
||||
chatLayout->setMargin(0);
|
||||
chatLayout->setContentsMargins(0, 0, 0, 0);
|
||||
chatLayout->addWidget(lineEdit, 1);
|
||||
chatLayout->addWidget(sendButton);
|
||||
|
||||
QVBoxLayout *layout = new QVBoxLayout();
|
||||
layout->setMargin(0);
|
||||
layout->setContentsMargins(0, 0, 0, 0);
|
||||
layout->addWidget(widget_, 1);
|
||||
layout->addLayout(chatLayout);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user