From 1f81228d7b98db067b1cad84db5dc547958103dd Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Wed, 27 Aug 2014 22:31:20 +0200 Subject: [PATCH] CTestMenu: disable tuner test code Doesn't work with newer frontend api, and not really required. --- src/gui/test_menu.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/gui/test_menu.cpp b/src/gui/test_menu.cpp index a788863fd..0ab9cc734 100644 --- a/src/gui/test_menu.cpp +++ b/src/gui/test_menu.cpp @@ -311,6 +311,7 @@ int CTestMenu::exec(CMenuTarget* parent, const std::string &actionKey) return res; } +#if 0 //some parts DEPRECATED else if (actionKey.find("22kon") != std::string::npos) { int fnum = atoi(actionKey.substr(5, 1).c_str()); @@ -366,6 +367,7 @@ int CTestMenu::exec(CMenuTarget* parent, const std::string &actionKey) scanTs.exec(NULL, "manual"); return res; } +#endif else if (actionKey == "button"){ if (button == NULL) button = new CComponentsButtonRed(100, 100, 100, 50, "Test"); @@ -796,7 +798,7 @@ void CTestMenu::showHWTests(CMenuWidget *widget) widget->addItem(new CMenuForwarder("Smartcard 2", true, NULL, this, "card1")); widget->addItem(new CMenuForwarder("HDD", true, NULL, this, "hdd")); widget->addItem(new CMenuForwarder("SD/MMC", true, NULL, this, "mmc")); - +#if 0 //some parts DEPRECATED for (unsigned i = 0; i < sizeof(test_pos)/sizeof(int); i++) { CServiceManager::getInstance()->InitSatPosition(test_pos[i], NULL, true); } @@ -843,4 +845,5 @@ void CTestMenu::showHWTests(CMenuWidget *widget) } } CFEManager::getInstance()->linkFrontends(true); +#endif }