From 4ad2f3383013e680b251feb3e4366dfac46d88f2 Mon Sep 17 00:00:00 2001 From: svenhoefer Date: Tue, 16 Oct 2018 23:57:28 +0200 Subject: [PATCH] - moviebrowser: remove unnecessary check from hintbox in showYTMenu() function Signed-off-by: Thilo Graf --- src/gui/moviebrowser/mb.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/gui/moviebrowser/mb.cpp b/src/gui/moviebrowser/mb.cpp index 684faa576..6dbc910a0 100644 --- a/src/gui/moviebrowser/mb.cpp +++ b/src/gui/moviebrowser/mb.cpp @@ -4360,9 +4360,7 @@ bool CMovieBrowser::showYTMenu(bool calledExternally) } if (reload) { - CHintBox loadBox(LOCALE_MOVIEPLAYER_YTPLAYBACK, (show_mode == MB_SHOW_YT) - ? g_Locale->getText(LOCALE_MOVIEBROWSER_SCAN_FOR_VIDEOS) - : g_Locale->getText(LOCALE_MOVIEBROWSER_SCAN_FOR_MOVIES), 450); + CHintBox loadBox(LOCALE_MOVIEPLAYER_YTPLAYBACK, LOCALE_MOVIEBROWSER_SCAN_FOR_VIDEOS, 450); loadBox.paint(); ytparser.Cleanup(); loadYTitles(newmode, m_settings.ytsearch, m_settings.ytvid);