mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 09:21:09 +02:00
showFastscanDiseqcSetup: simplify hintbox calls
Origin commit data
------------------
Commit: 627098d937
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-11-20 (Sun, 20 Nov 2016)
This commit is contained in:
@@ -1488,11 +1488,11 @@ void CScanSetup::addScanMenuFastScan(CMenuWidget *fast_ScanMenu)
|
|||||||
|
|
||||||
int CScanSetup::showFastscanDiseqcSetup()
|
int CScanSetup::showFastscanDiseqcSetup()
|
||||||
{
|
{
|
||||||
CHintBox * hintbox = new CHintBox(LOCALE_MESSAGEBOX_INFO, g_Locale->getText(LOCALE_SATSETUP_FASTSCAN_AUTO_DISEQC_WAIT));
|
CHintBox hintbox(LOCALE_MESSAGEBOX_INFO, g_Locale->getText(LOCALE_SATSETUP_FASTSCAN_AUTO_DISEQC_WAIT));
|
||||||
hintbox->paint();
|
hintbox.paint();
|
||||||
|
|
||||||
CServiceScan::getInstance()->TestDiseqcConfig(scansettings.fast_op);
|
CServiceScan::getInstance()->TestDiseqcConfig(scansettings.fast_op);
|
||||||
delete hintbox;
|
hintbox.hide();
|
||||||
|
|
||||||
CMenuWidget * sat_setup = new CMenuWidget(LOCALE_SATSETUP_DISEQC_INPUT, NEUTRINO_ICON_SETTINGS, width);
|
CMenuWidget * sat_setup = new CMenuWidget(LOCALE_SATSETUP_DISEQC_INPUT, NEUTRINO_ICON_SETTINGS, width);
|
||||||
sat_setup->addIntroItems();
|
sat_setup->addIntroItems();
|
||||||
|
Reference in New Issue
Block a user