Skip to content

Commit

Permalink
clang-format.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicolau Leal Werneck committed Apr 16, 2024
1 parent 41c525a commit a47c31d
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions src/library/librarycontrol.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,8 @@ LibraryControl::LibraryControl(Library* pLibrary)
// Controls to move tracks on playlist
// Track move controls (emulate Alt+up/down button press)
m_pMoveTrackUp = std::make_unique<ControlPushButton>(ConfigKey("[Library]", "MoveTrack-Up"));
m_pMoveTrackDown = std::make_unique<ControlPushButton>(ConfigKey("[Library]", "MoveTrack-Down"));
m_pMoveTrackDown = std::make_unique<ControlPushButton>(
ConfigKey("[Library]", "MoveTrack-Down"));
m_pMoveTrack = std::make_unique<ControlEncoder>(ConfigKey("[Library]", "MoveTrack"), false);
#ifdef MIXXX_USE_QML
if (!CmdlineArgs::Instance().isQml())
Expand Down Expand Up @@ -254,7 +255,8 @@ LibraryControl::LibraryControl(Library* pLibrary)
&LibraryControl::slotAutoDjAddTop);
}

m_pAutoDjAddBottom = std::make_unique<ControlPushButton>(ConfigKey("[Library]", "AutoDjAddBottom"));
m_pAutoDjAddBottom = std::make_unique<ControlPushButton>(
ConfigKey("[Library]", "AutoDjAddBottom"));
m_pAutoDjAddBottom->addAlias(ConfigKey(
QStringLiteral("[Playlist]"), QStringLiteral("AutoDjAddBottom")));
#ifdef MIXXX_USE_QML
Expand Down Expand Up @@ -441,7 +443,8 @@ LibraryControl::LibraryControl(Library* pLibrary)
&LibraryControl::slotSelectPrevTrack);

// Ignoring no-ops is important since this is for +/- tickers.
m_pSelectTrack = std::make_unique<ControlObject>(ConfigKey("[Playlist]", "SelectTrackKnob"), false);
m_pSelectTrack = std::make_unique<ControlObject>(
ConfigKey("[Playlist]", "SelectTrackKnob"), false);
connect(m_pSelectTrack.get(),
&ControlObject::valueChanged,
this,
Expand Down Expand Up @@ -472,7 +475,8 @@ LibraryControl::LibraryControl(Library* pLibrary)
this,
&LibraryControl::slotToggleSelectedSidebarItem);

m_pLoadSelectedIntoFirstStopped = std::make_unique<ControlPushButton>(ConfigKey("[Playlist]", "LoadSelectedIntoFirstStopped"));
m_pLoadSelectedIntoFirstStopped = std::make_unique<ControlPushButton>(
ConfigKey("[Playlist]", "LoadSelectedIntoFirstStopped"));
connect(m_pLoadSelectedIntoFirstStopped.get(),
&ControlPushButton::valueChanged,
this,
Expand Down

0 comments on commit a47c31d

Please sign in to comment.