From 4315e5c9380e22eed483f00adac3d075369eae49 Mon Sep 17 00:00:00 2001 From: Laurent Montel Date: Wed, 27 Feb 2019 08:59:18 +0100 Subject: remove deprecated methods --- src/panels/information/phononwidget.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/panels/information/phononwidget.cpp') 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); -- cgit v1.3