diff --git a/src/coreservices.cpp b/src/coreservices.cpp index 51c209af1b3..42a2f3511ae 100644 --- a/src/coreservices.cpp +++ b/src/coreservices.cpp @@ -425,7 +425,7 @@ void CoreServices::initialize(QApplication* pApp) { // The following wmainmenubar controls must be created here so that controllers can bind to them // on startup. - m_pSkinSettingsControl = std::make_unique( + m_pSkinSettingsControl = std::make_unique( ConfigKey("[Master]", "skin_settings")); m_pShowMicrophoneControl = std::make_unique( ConfigKey("[Microphone]", "show_microphone")); @@ -437,6 +437,14 @@ void CoreServices::initialize(QApplication* pApp) { ConfigKey("[Library]", "show_coverart")); m_pMaximizeLibraryControl = std::make_unique( ConfigKey("[Master]", "maximize_library")); + m_pShowSamplersControl = std::make_unique( + ConfigKey("[Samplers]", "show_samplers")); + m_pShowEffectRackControl = std::make_unique( + ConfigKey("[EffectRack1]", "show")); + m_pShow4EffectUnitsControl = std::make_unique( + ConfigKey("[Skin]", "show_4effectunits")); + m_pShowMixerControl = std::make_unique( + ConfigKey("[Master]", "show_mixer")); // Load tracks in args.qlMusicFiles (command line arguments) into player // 1 and 2: @@ -617,6 +625,10 @@ void CoreServices::finalize() { m_pShowPreviewDeckControl.reset(); m_pShowCoverArtControl.reset(); m_pMaximizeLibraryControl.reset(); + m_pShowSamplersControl.reset(); + m_pShowEffectRackControl.reset(); + m_pShow4EffectUnitsControl.reset(); + m_pShowMixerControl.reset(); m_pControlIndicatorTimer.reset(); diff --git a/src/coreservices.h b/src/coreservices.h index acf75e03804..243e281c07a 100644 --- a/src/coreservices.h +++ b/src/coreservices.h @@ -152,12 +152,16 @@ class CoreServices : public QObject { std::shared_ptr m_pScreensaverManager; std::unique_ptr m_pTouchShift; - std::unique_ptr m_pSkinSettingsControl; + std::unique_ptr m_pSkinSettingsControl; std::unique_ptr m_pShowMicrophoneControl; std::unique_ptr m_pShowVinylControlControl; std::unique_ptr m_pShowPreviewDeckControl; std::unique_ptr m_pShowCoverArtControl; std::unique_ptr m_pMaximizeLibraryControl; + std::unique_ptr m_pShowSamplersControl; + std::unique_ptr m_pShowEffectRackControl; + std::unique_ptr m_pShow4EffectUnitsControl; + std::unique_ptr m_pShowMixerControl; Timer m_runtime_timer; const CmdlineArgs& m_cmdlineArgs;