From fd5595b8bd0e2fdadfd0083e8bb915efed7134ac Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Wed, 26 Oct 2016 09:18:29 +0200 Subject: [PATCH] CNeutrinoApp: add missing hide() Hintbox was not removed from scrren after paint. Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/ca97793ef0e5e3089654aaa68894255c73289ae3 Author: Thilo Graf Date: 2016-10-26 (Wed, 26 Oct 2016) ------------------ This commit was generated by Migit --- src/neutrino.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/neutrino.cpp b/src/neutrino.cpp index 6ac3c30cf..f295fde90 100644 --- a/src/neutrino.cpp +++ b/src/neutrino.cpp @@ -2681,8 +2681,8 @@ _repeat: } if (channels_changed || favorites_changed || bouquets_changed || channels_init) { neutrino_locale_t loc = channels_init ? LOCALE_SERVICEMENU_RELOAD_HINT : LOCALE_BOUQUETEDITOR_SAVINGCHANGES; - CHintBox* hintBox= new CHintBox(LOCALE_MESSAGEBOX_INFO, g_Locale->getText(loc)); - hintBox->paint(); + CHintBox hintBox(LOCALE_MESSAGEBOX_INFO, g_Locale->getText(loc)); + hintBox.paint(); if (favorites_changed) { g_bouquetManager->saveUBouquets(); @@ -2710,7 +2710,7 @@ _repeat: if(!live_channel_id) live_channel_id = CZapit::getInstance()->GetCurrentChannelID(); adjustToChannelID(live_channel_id);//FIXME what if deleted ? - delete hintBox; + hintBox.hide(); } if (g_settings.easymenu) { CBouquetList * blist = (mode == mode_radio) ? RADIOfavList : TVfavList;