diff options
author | Be <be@mixxx.org> | 2020-05-15 16:33:18 -0500 |
---|---|---|
committer | Be <be@mixxx.org> | 2020-05-15 16:33:18 -0500 |
commit | 035bb27e4933332cc755b66aafe15c3d399b56fd (patch) | |
tree | 56808b3a7803ae4abea004f6051a5a51491a93bb /src/mixer | |
parent | 7617d684b31f5a8e14be912bbbb3ffd2cf794197 (diff) |
BaseTrackPlayer: omit superfluous -1 multiplier
Diffstat (limited to 'src/mixer')
-rw-r--r-- | src/mixer/basetrackplayer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mixer/basetrackplayer.cpp b/src/mixer/basetrackplayer.cpp index 079c06af57..aacc9178ac 100644 --- a/src/mixer/basetrackplayer.cpp +++ b/src/mixer/basetrackplayer.cpp @@ -142,7 +142,7 @@ BaseTrackPlayerImpl::BaseTrackPlayerImpl(QObject* pParent, connect(m_pShiftCuesEarlier.get(), &ControlObject::valueChanged, this, - [this](double value) { slotShiftCuesButton(value, -1 * kShiftCuesOffsetMillis); }); + [this](double value) { slotShiftCuesButton(value, -kShiftCuesOffsetMillis); }); m_pShiftCuesLater = std::make_unique<ControlPushButton>( ConfigKey(group, "shift_cues_later")); connect(m_pShiftCuesLater.get(), @@ -155,7 +155,7 @@ BaseTrackPlayerImpl::BaseTrackPlayerImpl(QObject* pParent, &ControlObject::valueChanged, this, [this](double value) { - slotShiftCuesButton(value, -1 * kShiftCuesOffsetSmallMillis); + slotShiftCuesButton(value, -kShiftCuesOffsetSmallMillis); }); m_pShiftCuesLaterSmall = std::make_unique<ControlPushButton>( ConfigKey(group, "shift_cues_later_small")); |