From 0672de3cdfdb574c00e81a4ef522263eb27fe4d5 Mon Sep 17 00:00:00 2001 From: "[CST] Focus" Date: Tue, 17 Sep 2013 09:58:40 +0400 Subject: [PATCH] gui/audio_setup.cpp: disable nmgr settings on apollo Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/12d005d1ea844a866c055dddb4403d726b120ca2 Author: [CST] Focus Date: 2013-09-17 (Tue, 17 Sep 2013) --- src/gui/audio_setup.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/gui/audio_setup.cpp b/src/gui/audio_setup.cpp index e35724472..f2fadc797 100644 --- a/src/gui/audio_setup.cpp +++ b/src/gui/audio_setup.cpp @@ -200,7 +200,9 @@ int CAudioSetup::showAudioSetup() audioSettings->addItem(GenericMenuSeparatorLine); audioSettings->addItem(as_oj_srsonoff); audioSettings->addItem(as_oj_algo); +#ifndef BOXMODEL_APOLLO audioSettings->addItem(as_oj_noise); +#endif audioSettings->addItem(as_oj_volrev); #if 0 audioSettings->addItem(mf); @@ -209,6 +211,9 @@ int CAudioSetup::showAudioSetup() int res = audioSettings->exec(NULL, ""); selected = audioSettings->getSelected(); delete audioSettings; +#ifdef BOXMODEL_APOLLO + delete as_oj_noise; +#endif return res; }