Skip to content

Commit

Permalink
Do not assign parent to solo/mute layout
Browse files Browse the repository at this point in the history
  • Loading branch information
sakertooth committed Sep 17, 2024
1 parent 2b35a6b commit 45a5c7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/MixerChannelView.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ MixerChannelView::MixerChannelView(QWidget* parent, MixerView* mixerView, int ch
m_soloButton->setCheckable(true);
m_soloButton->setToolTip(tr("Solo this channel"));

QVBoxLayout* soloMuteLayout = new QVBoxLayout(this);
auto soloMuteLayout = new QVBoxLayout{};
soloMuteLayout->setContentsMargins(0, 0, 0, 0);
soloMuteLayout->setSpacing(0);
soloMuteLayout->addWidget(m_soloButton, 0, Qt::AlignHCenter);
Expand Down

0 comments on commit 45a5c7b

Please sign in to comment.