mirror of
https://github.com/strawberrymusicplayer/strawberry
synced 2025-02-03 10:57:33 +01:00
Use setContentsMargins
This commit is contained in:
parent
e407080057
commit
351999a01b
@ -165,7 +165,7 @@ QSearchField::QSearchField(QWidget *parent) : QWidget(parent) {
|
||||
[search setDelegate:(id<NSSearchFieldDelegate>)delegate];
|
||||
|
||||
QVBoxLayout *layout = new QVBoxLayout(this);
|
||||
layout->setMargin(0);
|
||||
layout->setContentsMargins(0, 0, 0, 0);
|
||||
layout->addWidget(QWidget::createWindowContainer(QWindow::fromWinId(WId(search)), this));
|
||||
|
||||
setAttribute(Qt::WA_NativeWindow);
|
||||
|
Loading…
x
Reference in New Issue
Block a user