Skip to content

Commit

Permalink
Wrap qDebug call in a test of sDebug
Browse files Browse the repository at this point in the history
  • Loading branch information
Bacadam committed Jun 18, 2024
1 parent 9763555 commit 7aaa7eb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/library/autodj/autodjprocessor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1670,7 +1670,9 @@ void AutoDJProcessor::playerRateChanged(DeckAttributes* pAttributes) {
}

void AutoDJProcessor::playlistFirstTrackChanged() {
qDebug() << this << "playlistFirstTrackChanged";
if constexpr (sDebug) {
qDebug() << this << "playlistFirstTrackChanged";
}
if (m_eState != ADJ_DISABLED) {
DeckAttributes* pLeftDeck = getLeftDeck();
DeckAttributes* pRightDeck = getRightDeck();
Expand Down

0 comments on commit 7aaa7eb

Please sign in to comment.