mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 08:21:12 +02:00
CFavorites: simplify hintbox calls
This commit is contained in:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user