Skip to content

Commit

Permalink
CueControl::process: rename pCue -> pControl
Browse files Browse the repository at this point in the history
  • Loading branch information
ronso0 authored and acolombier committed Jan 25, 2025
1 parent 29e94fc commit 4582733
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/engine/controls/cuecontrol.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ void CueControl::process(const double rate,
Q_UNUSED(rate);
Q_UNUSED(bufferSize);
for (const auto& pControl : std::as_const(m_hotcueControls)) {
if (pControl->getCue() == nullptr ||
if (!pControl->getCue() ||
pControl->getStatus() != HotcueControl::Status::Active ||
pControl->getCue()->getType() != mixxx::CueType::Jump ||
!pControl->getEndPosition().isValid()) {
Expand Down

0 comments on commit 4582733

Please sign in to comment.