┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/panels/information/phononwidget.cpp
diff options
context:
space:
mode:
authorLaurent Montel <[email protected]>2019-02-27 08:59:18 +0100
committerLaurent Montel <[email protected]>2019-02-27 08:59:18 +0100
commit4315e5c9380e22eed483f00adac3d075369eae49 (patch)
tree8d86e02ae6b54ec1bdb6c057896ff0bffc09c173 /src/panels/information/phononwidget.cpp
parent1c6240964bb8ce9d55069cc9082978e34c22e84c (diff)
remove deprecated methods
Diffstat (limited to 'src/panels/information/phononwidget.cpp')
-rw-r--r--src/panels/information/phononwidget.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/panels/information/phononwidget.cpp b/src/panels/information/phononwidget.cpp
index 494429b8c..95f535713 100644
--- a/src/panels/information/phononwidget.cpp
+++ b/src/panels/information/phononwidget.cpp
@@ -104,10 +104,10 @@ void PhononWidget::showEvent(QShowEvent *event)
if (!m_topLayout) {
m_topLayout = new QVBoxLayout(this);
- m_topLayout->setMargin(0);
+ m_topLayout->setContentsMargins(0, 0, 0, 0);
QHBoxLayout *controlsLayout = new QHBoxLayout(this);
- controlsLayout->setMargin(0);
+ controlsLayout->setContentsMargins(0, 0, 0, 0);
controlsLayout->setSpacing(0);
m_playButton = new QToolButton(this);