diff options
author | Be <be@mixxx.org> | 2019-10-14 12:34:02 -0500 |
---|---|---|
committer | Be <be@mixxx.org> | 2019-10-14 12:34:02 -0500 |
commit | 200396600c6394afeea77236f284e9aa186b2b63 (patch) | |
tree | be94316d978daec3e0ba301da6bb7a26315ae6c4 /src/mixer/playermanager.cpp | |
parent | d284d5ef4c79d5b9e6832690a351b6cd02171c07 (diff) |
use parented_ptr for ControlProxy
Diffstat (limited to 'src/mixer/playermanager.cpp')
-rw-r--r-- | src/mixer/playermanager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mixer/playermanager.cpp b/src/mixer/playermanager.cpp index b03728d0f1..b71ddc7ada 100644 --- a/src/mixer/playermanager.cpp +++ b/src/mixer/playermanager.cpp @@ -66,7 +66,7 @@ PlayerManager::PlayerManager(UserSettingsPointer pConfig, m_pCONumAuxiliaries(new ControlObject( ConfigKey("[Master]", "num_auxiliaries"), true, true)), m_pTrackAnalysisScheduler(TrackAnalysisScheduler::NullPointer()), - m_pAutoDjEnabled(std::make_unique<ControlProxy>("[AutoDJ]", "enabled", this)) { + m_pAutoDjEnabled(make_parented<ControlProxy>("[AutoDJ]", "enabled", this)) { m_pCONumDecks->connectValueChangeRequest(this, &PlayerManager::slotChangeNumDecks, Qt::DirectConnection); m_pCONumSamplers->connectValueChangeRequest(this, |