Skip to content

Commit

Permalink
Travis CI: Fixed the Pre-commit-pr hooks error
Browse files Browse the repository at this point in the history
  • Loading branch information
PawBud committed Oct 30, 2020
1 parent 89ada92 commit f7aa473
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
8 changes: 5 additions & 3 deletions src/controllers/controlpickermenu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -737,9 +737,11 @@ ControlPickerMenu::ControlPickerMenu(QWidget* pParent)
addControl("[AutoDJ]", "skip_next",
tr("Auto DJ Skip Next"),
tr("Skip the next track in the Auto DJ queue"), autodjMenu);
addControl("[AutoDJ]", "add_random_track",
tr("Auto DJ Add Random Track"),
tr("Add a random track to the Auto DJ queue"), autodjMenu);
addControl("[AutoDJ]",
"add_random_track",
tr("Auto DJ Add Random Track"),
tr("Add a random track to the Auto DJ queue"),
autodjMenu);
addControl("[AutoDJ]", "fade_now",
tr("Auto DJ Fade To Next"),
tr("Trigger the transition to the next track"), autodjMenu);
Expand Down
6 changes: 4 additions & 2 deletions src/library/autodj/autodjprocessor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,10 @@ AutoDJProcessor::AutoDJProcessor(

m_pAddRandomTrack = new ControlPushButton(
ConfigKey("[AutoDJ]", "add_random_track"));
connect(m_pAddRandomTrack, &ControlObject::valueChanged,
this, &AutoDJProcessor::controlAddRandomTrack);
connect(m_pAddRandomTrack,
&ControlObject::valueChanged,
this,
&AutoDJProcessor::controlAddRandomTrack);

m_pFadeNow = new ControlPushButton(
ConfigKey("[AutoDJ]", "fade_now"));
Expand Down
3 changes: 1 addition & 2 deletions src/library/autodj/dlgautodj.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -319,8 +319,7 @@ void DlgAutoDJ::autoDJStateChanged(AutoDJProcessor::AutoDJState state) {
pushButtonFadeNow->setEnabled(true);
}

// You can always skip the next track if we are enabled.
pushButtonSkipNext->setEnabled(true);
pushButtonSkipNext->setEnabled(true);
}
}

Expand Down

0 comments on commit f7aa473

Please sign in to comment.