1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2025-02-03 09:44:01 -05:00

Replace depreceted QWidget.setMargin with setContentsMargins

This commit is contained in:
Jiří Pinkava 2022-09-25 20:53:16 +02:00
parent 01227143ac
commit 50307e0f61

View File

@ -56,7 +56,7 @@ Workspace::Workspace(int index, QWidget *parent, Qt::WindowFlags flags) :
m_titleBar = new QWidget();
m_titleBarLayout = new QHBoxLayout();
m_titleBarLayout->setMargin(0);
m_titleBarLayout->setContentsMargins(QMargins());
m_titleBar->setLayout(m_titleBarLayout);
m_titleLabel = new QLabel();