]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/panels/information/phononwidget.cpp
[InformationPanel] Hide the video when the preview is disabled, avoid computing the...
[dolphin.git] / src / panels / information / phononwidget.cpp
index 494429b8c23cbd6595b8b9ca82907698ecc6d931..95f535713c32b0f8d24b157ea1374f0b1d67ae53 100644 (file)
@@ -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);