mirror of
https://github.com/YACReader/yacreader
synced 2025-07-18 21:14:33 -04:00
Use setContentsMargins instead of setMargin
This commit is contained in:
@ -7,7 +7,7 @@ NotificationsLabelWidget::NotificationsLabelWidget(QWidget *parent)
|
||||
{
|
||||
auto layout = new QVBoxLayout;
|
||||
layout->setSpacing(0);
|
||||
layout->setMargin(0);
|
||||
layout->setContentsMargins(0, 0, 0, 0);
|
||||
|
||||
setAttribute(Qt::WA_LayoutUsesWidgetRect, true);
|
||||
effect = new QGraphicsOpacityEffect(this);
|
||||
|
Reference in New Issue
Block a user