CNeutrinoApp: add missing hide()

Hintbox was not removed from scrren after paint.


Origin commit data
------------------
Branch: ni/coolstream
Commit: ca97793ef0
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-10-26 (Wed, 26 Oct 2016)



------------------
This commit was generated by Migit
This commit is contained in:
2016-10-26 09:18:29 +02:00
parent b282d0a75c
commit fd5595b8bd

View File

@@ -2681,8 +2681,8 @@ _repeat:
} }
if (channels_changed || favorites_changed || bouquets_changed || channels_init) { if (channels_changed || favorites_changed || bouquets_changed || channels_init) {
neutrino_locale_t loc = channels_init ? LOCALE_SERVICEMENU_RELOAD_HINT : LOCALE_BOUQUETEDITOR_SAVINGCHANGES; neutrino_locale_t loc = channels_init ? LOCALE_SERVICEMENU_RELOAD_HINT : LOCALE_BOUQUETEDITOR_SAVINGCHANGES;
CHintBox* hintBox= new CHintBox(LOCALE_MESSAGEBOX_INFO, g_Locale->getText(loc)); CHintBox hintBox(LOCALE_MESSAGEBOX_INFO, g_Locale->getText(loc));
hintBox->paint(); hintBox.paint();
if (favorites_changed) { if (favorites_changed) {
g_bouquetManager->saveUBouquets(); g_bouquetManager->saveUBouquets();
@@ -2710,7 +2710,7 @@ _repeat:
if(!live_channel_id) if(!live_channel_id)
live_channel_id = CZapit::getInstance()->GetCurrentChannelID(); live_channel_id = CZapit::getInstance()->GetCurrentChannelID();
adjustToChannelID(live_channel_id);//FIXME what if deleted ? adjustToChannelID(live_channel_id);//FIXME what if deleted ?
delete hintBox; hintBox.hide();
} }
if (g_settings.easymenu) { if (g_settings.easymenu) {
CBouquetList * blist = (mode == mode_radio) ? RADIOfavList : TVfavList; CBouquetList * blist = (mode == mode_radio) ? RADIOfavList : TVfavList;