gui/audio_setup.cpp: disable nmgr settings on apollo

This commit is contained in:
[CST] Focus
2013-09-17 09:58:40 +04:00
parent 5b3cea3ff6
commit 12d005d1ea

View File

@@ -200,7 +200,9 @@ int CAudioSetup::showAudioSetup()
audioSettings->addItem(GenericMenuSeparatorLine); audioSettings->addItem(GenericMenuSeparatorLine);
audioSettings->addItem(as_oj_srsonoff); audioSettings->addItem(as_oj_srsonoff);
audioSettings->addItem(as_oj_algo); audioSettings->addItem(as_oj_algo);
#ifndef BOXMODEL_APOLLO
audioSettings->addItem(as_oj_noise); audioSettings->addItem(as_oj_noise);
#endif
audioSettings->addItem(as_oj_volrev); audioSettings->addItem(as_oj_volrev);
#if 0 #if 0
audioSettings->addItem(mf); audioSettings->addItem(mf);
@@ -209,6 +211,9 @@ int CAudioSetup::showAudioSetup()
int res = audioSettings->exec(NULL, ""); int res = audioSettings->exec(NULL, "");
selected = audioSettings->getSelected(); selected = audioSettings->getSelected();
delete audioSettings; delete audioSettings;
#ifdef BOXMODEL_APOLLO
delete as_oj_noise;
#endif
return res; return res;
} }