UI: Fix YouTube Chat build failure with Qt 6
This commit is contained in:
parent
3b3b45038f
commit
cf0275e00d
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue