- change some hintboxes

Conflicts:
	src/neutrino.cpp

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

I'm not enthused of this solution to misuse the CHint destructor since
commit 1cb25e7cd3 "- hintbox: add setDelay() prototype".
I think such tasks with delay impact are not the designation of
destructors and avoidable. Unless it is absolutely necessary.
Therefore, I think this is only a temporary solution.
This commit is contained in:
svenhoefer
2021-09-30 22:56:15 +02:00
committed by Thilo Graf
parent 887d2f1cb5
commit 3f34ab5877
3 changed files with 15 additions and 11 deletions

View File

@@ -5384,6 +5384,7 @@ int CNeutrinoApp::exec(CMenuTarget* parent, const std::string & actionKey)
else if (actionKey=="savesettings") {
CHint *hint = new CHint(LOCALE_MAINSETTINGS_SAVESETTINGSNOW_HINT);
hint->setDelay(1);
hint->paint();
saveSetup(NEUTRINO_SETTINGS_FILE);
@@ -5396,7 +5397,6 @@ int CNeutrinoApp::exec(CMenuTarget* parent, const std::string & actionKey)
//g_Sectionsd->setEventsAreOldInMinutes((unsigned short) (g_settings.epg_old_hours*60));
//g_Sectionsd->setHoursToCache((unsigned short) (g_settings.epg_cache_days*24));
sleep(1); // small delay for very fast hardware
delete hint;
}
else if (actionKey=="recording") {