Skip to content

Commit

Permalink
Merge pull request #13097 from daschuer/clang-tidy-fix
Browse files Browse the repository at this point in the history
Code Style: Add brances around single line blocks.
  • Loading branch information
JoergAtGithub committed May 1, 2024
2 parents cd5c2d6 + d98e542 commit 92b9aad
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/mixer/basetrackplayer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,9 @@ BaseTrackPlayerImpl::BaseTrackPlayerImpl(
&ControlPushButton::valueChanged,
this,
[this](double value) {
if (value > 0)
if (value > 0) {
BaseTrackPlayerImpl::slotTrackColorSelector(-1);
}
});

m_pTrackColorNext = std::make_unique<ControlPushButton>(
Expand All @@ -121,8 +122,9 @@ BaseTrackPlayerImpl::BaseTrackPlayerImpl(
&ControlPushButton::valueChanged,
this,
[this](double value) {
if (value > 0)
if (value > 0) {
BaseTrackPlayerImpl::slotTrackColorSelector(1);
}
});

m_pTrackColorSelect = std::make_unique<ControlEncoder>(
Expand Down

0 comments on commit 92b9aad

Please sign in to comment.