mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 17:01:15 +02:00
- 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:
@@ -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") {
|
||||
|
Reference in New Issue
Block a user