- moviebrowser: remove unnecessary check from hintbox in showYTMenu() function

Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
svenhoefer
2018-10-16 23:57:28 +02:00
committed by Thilo Graf
parent b902f870e6
commit 4ad2f33830

View File

@@ -4360,9 +4360,7 @@ bool CMovieBrowser::showYTMenu(bool calledExternally)
} }
if (reload) { if (reload) {
CHintBox loadBox(LOCALE_MOVIEPLAYER_YTPLAYBACK, (show_mode == MB_SHOW_YT) CHintBox loadBox(LOCALE_MOVIEPLAYER_YTPLAYBACK, LOCALE_MOVIEBROWSER_SCAN_FOR_VIDEOS, 450);
? g_Locale->getText(LOCALE_MOVIEBROWSER_SCAN_FOR_VIDEOS)
: g_Locale->getText(LOCALE_MOVIEBROWSER_SCAN_FOR_MOVIES), 450);
loadBox.paint(); loadBox.paint();
ytparser.Cleanup(); ytparser.Cleanup();
loadYTitles(newmode, m_settings.ytsearch, m_settings.ytvid); loadYTitles(newmode, m_settings.ytsearch, m_settings.ytvid);