Rework display LOCALE_SERVICEMENU_RELOAD_HINT message

- remove the very short visible message in channelsInit()
- remove global reloadhintBox

Signed-off-by: Thilo Graf <dbt@novatux.de>


Origin commit data
------------------
Branch: ni/coolstream
Commit: 8eab1ca472
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2014-07-26 (Sat, 26 Jul 2014)



------------------
This commit was generated by Migit
This commit is contained in:
Michael Liebmann
2014-07-26 10:04:14 +02:00
committed by [CST] Focus
parent 01b2ed34e6
commit bd9a4f50b6
3 changed files with 9 additions and 19 deletions

View File

@@ -82,8 +82,6 @@ extern cDemux *videoDemux;
extern cDemux *audioDemux;
extern cDemux *pcrDemux;
extern CHintBox *reloadhintBox;
extern "C" int pinghost( const char *hostname );
COnOffNotifier::COnOffNotifier(int OffValue)
@@ -562,12 +560,11 @@ int CDataResetNotifier::exec(CMenuTarget* /*parent*/, const std::string& actionK
g_Zapit->reinitChannels();
}
if (delete_removed) {
if (reloadhintBox)
reloadhintBox->paint();
CHintBox chb(LOCALE_MESSAGEBOX_INFO, g_Locale->getText(LOCALE_SERVICEMENU_RELOAD_HINT));
chb.paint();
CServiceManager::getInstance()->SaveServices(true, false, true);
if (reloadhintBox)
reloadhintBox->hide(); /* reinitChannels also triggers a reloadhintbox */
g_Zapit->reinitChannels();
chb.hide();
}
return ret;
}