From d98e5424f47b40ec51bfd01b4d925daf7efe69c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Sch=C3=BCrmann?= Date: Sat, 13 Apr 2024 22:15:37 +0200 Subject: [PATCH] Code Style: Add brances around single line blocks. --- src/mixer/basetrackplayer.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/mixer/basetrackplayer.cpp b/src/mixer/basetrackplayer.cpp index b59baec68d5..33adefd3bad 100644 --- a/src/mixer/basetrackplayer.cpp +++ b/src/mixer/basetrackplayer.cpp @@ -112,8 +112,9 @@ BaseTrackPlayerImpl::BaseTrackPlayerImpl( &ControlPushButton::valueChanged, this, [this](double value) { - if (value > 0) + if (value > 0) { BaseTrackPlayerImpl::slotTrackColorSelector(-1); + } }); m_pTrackColorNext = std::make_unique( @@ -122,8 +123,9 @@ BaseTrackPlayerImpl::BaseTrackPlayerImpl( &ControlPushButton::valueChanged, this, [this](double value) { - if (value > 0) + if (value > 0) { BaseTrackPlayerImpl::slotTrackColorSelector(1); + } }); m_pTrackColorSelect = std::make_unique(