Skip to content

Commit

Permalink
(fix) make [stem_group],mute a powerwindow button
Browse files Browse the repository at this point in the history
Co-authored-by: Swiftb0y <12380386+Swiftb0y@users.noreply.github.com>
  • Loading branch information
ronso0 and Swiftb0y committed Oct 10, 2024
1 parent e2abcf9 commit 46ce131
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/engine/channels/enginedeck.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,10 @@ EngineDeck::EngineDeck(
// disruptive impact, so setting the default explicitly
m_stemGain.back()->set(1.0);
m_stemGain.back()->setDefaultValue(1.0);
m_stemMute.emplace_back(std::make_unique<ControlPushButton>(
ConfigKey(getGroupForStem(getGroup(), stemIdx), QStringLiteral("mute"))));
auto pMuteButton = std::make_unique<ControlPushButton>(
ConfigKey(getGroupForStem(getGroup(), stemIdx), QStringLiteral("mute")));
pMuteButton->setButtonMode(mixxx::control::ButtonMode::PowerWindow);
m_stemMute.push_back(std::move(pMuteButton));
}
#endif
}
Expand Down

0 comments on commit 46ce131

Please sign in to comment.