diff --git a/src/system/setting_helpers.cpp b/src/system/setting_helpers.cpp index a1c1d7c75..8463e7c27 100644 --- a/src/system/setting_helpers.cpp +++ b/src/system/setting_helpers.cpp @@ -605,17 +605,6 @@ bool CRecAPIDSettingsNotifier::changeNotify(const neutrino_locale_t, void *) return true; } -int CAPIDChangeExec::exec(CMenuTarget* /*parent*/, const std::string & actionKey) -{ - // printf("CAPIDChangeExec exec: %s\n", actionKey.c_str()); - unsigned int sel= atoi(actionKey.c_str()); - if (g_RemoteControl->current_PIDs.PIDs.selected_apid!= sel ) - { - g_RemoteControl->setAPID(sel); - } - return menu_return::RETURN_EXIT; -} - int CSubtitleChangeExec::exec(CMenuTarget* /*parent*/, const std::string & actionKey) { printf("CSubtitleChangeExec::exec: action %s\n", actionKey.c_str()); diff --git a/src/system/setting_helpers.h b/src/system/setting_helpers.h index 87f960d52..19015990a 100644 --- a/src/system/setting_helpers.h +++ b/src/system/setting_helpers.h @@ -212,12 +212,6 @@ class CRecAPIDSettingsNotifier : public CChangeObserver bool changeNotify(const neutrino_locale_t OptionName, void*); }; -class CAPIDChangeExec : public CMenuTarget -{ - public: - int exec(CMenuTarget* parent, const std::string & actionKey); -}; - class CSubtitleChangeExec : public CMenuTarget { public: