CFavorites: simplify hintbox calls

Origin commit data
------------------
Branch: ni/coolstream
Commit: 47b0358490
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-11-20 (Sun, 20 Nov 2016)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
2016-11-20 22:46:49 +01:00
parent 86de6a1785
commit 92cf3681c2

View File

@@ -127,14 +127,13 @@ int CFavorites::exec(CMenuTarget* parent, const std::string & actionKey)
}
#endif
CHintBox* hintBox = new CHintBox(LOCALE_FAVORITES_BOUQUETNAME, g_Locale->getText(LOCALE_FAVORITES_ADDCHANNEL), 380); // UTF-8
CHintBox hintBox(LOCALE_FAVORITES_BOUQUETNAME, g_Locale->getText(LOCALE_FAVORITES_ADDCHANNEL), 380); // UTF-8
if(!show_list)
hintBox->paint();
hintBox.paint();
status = addChannelToFavorites(show_list);
hintBox->hide();
delete hintBox;
hintBox.hide();
// -- Display result