Skip to content

Commit

Permalink
Revert "Remove solo/mute layout"
Browse files Browse the repository at this point in the history
This reverts commit b7d8b15.
  • Loading branch information
sakertooth committed Sep 19, 2024
1 parent b7d8b15 commit 67b3027
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/gui/MixerChannelView.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,12 @@ namespace lmms::gui
m_soloButton->setCheckable(true);
m_soloButton->setToolTip(tr("Solo this channel"));

QVBoxLayout* soloMuteLayout = new QVBoxLayout();
soloMuteLayout->setContentsMargins(0, 0, 0, 0);
soloMuteLayout->setSpacing(0);
soloMuteLayout->addWidget(m_soloButton, 0, Qt::AlignHCenter);
soloMuteLayout->addWidget(m_muteButton, 0, Qt::AlignHCenter);

m_fader = new Fader{&mixerChannel->m_volumeModel, tr("Fader %1").arg(channelIndex), this};

m_peakIndicator = new PeakIndicator(this);
Expand All @@ -130,8 +136,7 @@ namespace lmms::gui
mainLayout->addWidget(m_sendArrow, 0, Qt::AlignHCenter);
mainLayout->addWidget(m_channelNumberLcd, 0, Qt::AlignHCenter);
mainLayout->addWidget(m_renameLineEditView, 0, Qt::AlignHCenter);
mainLayout->addWidget(m_soloButton, 0, Qt::AlignHCenter);
mainLayout->addWidget(m_muteButton, 0, Qt::AlignHCenter);
mainLayout->addLayout(soloMuteLayout, 0);
mainLayout->addWidget(m_peakIndicator);
mainLayout->addWidget(m_fader, 1, Qt::AlignHCenter);

Expand Down

0 comments on commit 67b3027

Please sign in to comment.