`controlsLayout` should not be a direct child of the widget, since it
already has `m_topLayout` as layout.
This fixes the following warning:
QLayout: Attempting to add QLayout "" to PhononWidget "", which already has a layout
m_topLayout = new QVBoxLayout(this);
m_topLayout->setContentsMargins(0, 0, 0, 0);
m_topLayout = new QVBoxLayout(this);
m_topLayout->setContentsMargins(0, 0, 0, 0);
- QHBoxLayout *controlsLayout = new QHBoxLayout(this);
+ QHBoxLayout *controlsLayout = new QHBoxLayout();
controlsLayout->setContentsMargins(0, 0, 0, 0);
controlsLayout->setSpacing(0);
controlsLayout->setContentsMargins(0, 0, 0, 0);
controlsLayout->setSpacing(0);